Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pagesize less than visible row count #33

Open
sklinov opened this issue Aug 4, 2020 · 0 comments
Open

pagesize less than visible row count #33

sklinov opened this issue Aug 4, 2020 · 0 comments

Comments

@sklinov
Copy link

sklinov commented Aug 4, 2020

I'm using InfinityTable in my project with additional filtering based on antd v4.

One of my filters change the array passed to dataSource prop, and I set my pageSize={data.length}.
But when I do filtering and number of rows is decreased, for example to 0, I'm getting this error:
pagesize(0) less than visible row count(8), maybe you set error!
In the library code I saw visibleRowCount variable, but how can we access it?

Is there a way to fix this?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant