How do I get the size of filtered data? #28
-
I'm using the client-side global filter, and I'd like to get the total number of rows in the filtered data so that I can display some text that says "Showing 14 / 1440 results" after the user searches for a query. How do I get the size of the filtered data? |
Beta Was this translation helpful? Give feedback.
Answered by
KevinVandy
Apr 4, 2023
Replies: 1 comment 3 replies
-
like There's a bunch of row models to query for the internal rows like this https://www.mantine-react-table.com/docs/api/table-instance-apis |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
kaeevans
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
like
table.getFilteredRowModel().rows.length
?There's a bunch of row models to query for the internal rows like this
https://www.mantine-react-table.com/docs/api/table-instance-apis