-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Add scroll listener to nz-table #2886
Comments
we will support virtual scroll in the next version. |
I think expose (scroll) from table is also necessary for some situation, as for using NextToken params to make pagination , onScroll can be used for loading next page. |
@charlescc has |
What problem does this feature solve?
NzTable doens't expose
(scroll)
fromtable
. This feature will expose(scroll)
.When working with large data sets the performance of nzTable doesn't cut it. We have a view with 200 rows and 20 columns, and each entry has a checkbox. I guess this isn't standard use of nzTable, we've used nzTable before with smaller data sets and it works fine. But for this use-case I need to know where in the table the user is, so that I can do some performance enhancements with my dataset.
What does the proposed API look like?
By exposing the location of the view I can reduce draw events for data that isn't displayed. It will also enable dynamic loading when I would want to prefetch data in advance.
The text was updated successfully, but these errors were encountered: