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?
I'm using
InfinityTable
in my project with additional filtering based onantd v4
.One of my filters change the array passed to
dataSource
prop, and I set mypageSize={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 sawvisibleRowCount
variable, but how can we access it?Is there a way to fix this? Thanks!