refetch useTable data

Hi guys! can we use any method to refetch data in useTable hook?
2 Replies
ambitious-aqua
ambitious-aqua2y ago
Yes, you can use this
import { useTable } from "@pankod/refine-react-table";

const {
refineCore: { tableQueryResult },
} = useTable();

tableQueryResult.refetch();
import { useTable } from "@pankod/refine-react-table";

const {
refineCore: { tableQueryResult },
} = useTable();

tableQueryResult.refetch();
automatic-azure
automatic-azureOP2y ago
wow) real! thanks)

Did you find this page helpful?