Santosh Bhandari
Santosh Bhandari
Explore posts from servers
RRefine
Created by absent-sapphire on 7/26/2024 in #ask-any-question
custom queryParams to useDataGrid
Hello guys 👋 I have this code
const dataGrid = useDataGrid<IAccount>({
resource: "journalLine/ledger",
pagination: {
pageSize: 12,
},
});
const dataGrid = useDataGrid<IAccount>({
resource: "journalLine/ledger",
pagination: {
pageSize: 12,
},
});
I want to be able to pass custom options to queryParams, for e.g. ?accountId=123 when the API call is made. How can I do this? Any help is really appreciated 🙏
5 replies