Closed mgreenw closed 3 weeks ago
I'm experiencing this issue after i updated all of the npm packages which had mantine-datatable aswell. I believe it doesn't update the totalRecords when changed. It happens when totalRecords is undefined in my scenario.
Describe the bug If there is pagination data provided (
totalRecords
,recordsPerPage
, andpage
) butfetching
istrue
, I expect the pagination fields to continue rendering normally while the rest of the data in the table shows a loading spinner. The use case is that it should be possible to fetch the pagination data and the actual data separately so there is no unexpected "..." while I'm fetching a new page of dataTo Reproduce Steps to reproduce the behavior:
totalRecords
,recordsPerPage
, andpage
fetching: true
, the pagination turns into...
, even though the three above fields are properly setExpected behavior I expect to see the pagination fields whenever
totalRecords
,recordsPerPage
, andpage
are set.Screenshots
Desktop (please complete the following information):