Closed anasstissir closed 4 months ago
Did You find any solution , I have the same problem , i copied the Example code and changed only data
I faced the same error and my problem is the data is generated in a loop. I fixed it by wrapping it in useMemo:
Met the same issue and found this table option autoResetPageIndex
in tanstack table. Setting it to false will keep the table in the current page when the data is updated. https://tanstack.com/table/v8/docs/api/features/pagination#autoresetpageindex
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.
my code where I placed my Datatable
<DataTable filtred="code" columns={columnsRender} data={state?.data || []} />
DataTable component