How to query join with Nestjsx when use useTable and useShow?
Hello!
I really enjoyed using refine with nestjsx data provider recently.
1. Is there any options for useTable or useShow to add query like "resource" + "?join=profile" ?
when I change resource to "users?join=profile", refine combines query "users?join=profile?limit=10....."
I searched docs but I couldn't find solution.
2. How to optimize using @pankod/refine-antd <EditButton/>, <ShowButton/>,<DeleteButton/> every row.
there are almost 300 items on list with 30pages. click other page, it loaded too slowly. when I removed that 3 components, it works fine.
<Table.Column<IAdmin>
ellipsis={true}
title="actions"
dataIndex="actions"
render={(_, record) => {
return (
<Space>
<ShowButton
hideText
size="small"
recordItemId={record.id}
/>
<EditButton
hideText
size="small"
recordItemId={record.id}
/>
<DeleteButton
hideText
size="small"
recordItemId={record.id}
/>
</Space>
);
}}
/>
3. Can I go back previous page index (Ex: List page5) if I navigate to Show page?
click show button during searching items, and then i click backward arrow, it navigates to first page of list.
Thanks for reading my questions.
I really enjoyed using refine with nestjsx data provider recently.
1. Is there any options for useTable or useShow to add query like "resource" + "?join=profile" ?
when I change resource to "users?join=profile", refine combines query "users?join=profile?limit=10....."
I searched docs but I couldn't find solution.
2. How to optimize using @pankod/refine-antd <EditButton/>, <ShowButton/>,<DeleteButton/> every row.
there are almost 300 items on list with 30pages. click other page, it loaded too slowly. when I removed that 3 components, it works fine.
<Table.Column<IAdmin>
ellipsis={true}
title="actions"
dataIndex="actions"
render={(_, record) => {
return (
<Space>
<ShowButton
hideText
size="small"
recordItemId={record.id}
/>
<EditButton
hideText
size="small"
recordItemId={record.id}
/>
<DeleteButton
hideText
size="small"
recordItemId={record.id}
/>
</Space>
);
}}
/>
3. Can I go back previous page index (Ex: List page5) if I navigate to Show page?
click show button during searching items, and then i click backward arrow, it navigates to first page of list.
Thanks for reading my questions.
