useTable. Passing Id to data provider?

Hello, My requirements need that my application renders a table("parent" table), and each table row will be expandable into a nested table("child" table for each "parent" table row ). I'm using Refine and Antd for this. I have built the layout and populated the tables with some dummy data, but now i need to replace with real data from a backend API. As per Refine documentation suggestion, I use "useTable" to call a "getList" method from a data provider (I customized the data provider, because i need the "getList" to be a post request, and to pass "id" as a body). This works because i have hardcoded an "id" My issue is that, I now need to pass the real "id" from my React component to the data provider, but there seems to be no way to do it using "useTable" hook. I could try to use a different hook, but I believe this is the only way to render tables, using {...tableProps} ? Can someone give me any guidance? I can provide more details if needed. I've been trying for quite sometime now and no luck thanks
kapa.ai343d ago
Hi @jaco0670. I'm, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
kapa.ai343d ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the refine documentation ( and refine blog ( for more information and examples on how to use refine with Ant Design and data providers. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Overview | refine
What is refine?
Blog | refine
A Docusaurus powered blog!
kapa.ai343d ago
<@486442088280358912> is still learning and improving, please let us how it did by reacting below
eastern-cyan343d ago
use can use meta for pass additional information to data provider
ambitious-aqua343d ago
@alicanerdurmaz thanks so much, I missed that bit in the docs, I can proceed now
More Posts
How can I run `-r @cypress/instrument-cra` with refine start?Hello, I'm trying to use `@cypress/instrument-cra` in my refine project and the library said I haAdding Refine to RemixI have remix project which is already working can I Refine to it. Do we have any douments How to gettable not rendering updated dataI was using useUpdateMany() hook for bulk updation and it went well. but the table is not fetching tI was using useUpdateMany hook for bulkI was using useUpdateMany() hook for bulk updation and it went well. but the table is not fetching tSider cursor is like TextField, why?Hello, When I click somewhere in the left menu, I started seeing a cursor in a strange way. What coWhere’s the refine banner located atWhere’s the refine banner located at? This is GREAT to have all my libraries and DB ready. I’m usingHow can i create a custom action for a resource?I want to create an action similar to "edit" but with a different name, is it possible?How to show on the Web App from the server only the records created by the user that is logged in?I want that the user that is logged in can view only the records created by him in that specific accWhat’s the difference between Refine andWhat’s the difference between Refine and Amplication? Amplication docs are a joke, i want to try refHow do i run `refine dev` in debug modeHow do i run `refine dev` in debug mode so that I can attach it to my IDE? 😄6h of debugging6h of debugging. solution: I changed the order of the router.route('/invitations')... Can someone exReceive data from databaseHow can I receive data from mongoDB with refine? user.routes.js: router.route('/invite').post(sendI