rival-black
rival-black2y ago

refetch useTable data

Hi guys! can we use any method to refetch data in useTable hook?
2 Replies
genetic-orange
genetic-orange2y 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();
rival-black
rival-blackOP2y ago
wow) real! thanks)