How to know if e.g. pagination is enabled (from existing table instance)? #5306
Unanswered
marceloverdijk
asked this question in
Q&A
Replies: 2 comments
-
Hey @marceloverdijk, |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm now using:
and that gives |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I have a
table
instance, how can I check if that table has pagination enabled?Same I would like to know if a global filter was configured when the table was created.
I was thinking something like:
but even for a simple table created like:
the
state
returns:The table itself still displays all rows (even if there are more then 10) so internally Tanstack Table looks at something different then the
pagination
state to determine if pagination is enabled.See https://codesandbox.io/p/sandbox/laughing-pine-x5qqvp
Beta Was this translation helpful? Give feedback.
All reactions