You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Store totalCount in tableRef.dataManager or expose something like onDataChange(data) event
Describe alternatives you've considered
Alternative is that I do fetching/pagination manually.
Additional context
People want to know how many results they have in the table. Yes it can be calculated by perPage * pages but not super accurate and little akward.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.
Guidelines
Please include a demo of the issue/behavior/question you have
I want to get access to
totalCount
with remote data feature. Currently material-table in default pagination doesn't displaytotalCount
anywhere.Currently it's used here only: https://github.com/mbrn/material-table/blob/b26e2f715abb2217f0d14e1efb15c6367fe12de1/src/material-table.js#L579C3-L579C16
Describe the solution you'd like
Store
totalCount
intableRef.dataManager
or expose something likeonDataChange(data)
eventDescribe alternatives you've considered
Alternative is that I do fetching/pagination manually.
Additional context
People want to know how many results they have in the table. Yes it can be calculated by perPage * pages but not super accurate and little akward.
The text was updated successfully, but these errors were encountered: