R
Refine

ask-any-question

refetch useTable data

Xxenial-black1/20/2023
Hi guys! can we use any method to refetch data in useTable hook?
Rrare-sapphire1/20/2023
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();
Xxenial-black1/20/2023
wow) real! thanks)

Looking for more? Join the community!

R
Refine

ask-any-question

Join Server