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
Data Clear and Reset blanks rows after horizontal + vertical scroll #2146
Comments
I am experiencing a similar issue with ngx datatable where the problem occurs after performing both vertical and horizontal scrolling. I am adding my support to the previous reports of this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a ...
Current behavior
This bug manifests after scrolling to the middle of the datatable. (Scroll down and scroll right on the datatable). By setting rows to empty
rows = []
then adding the data backrows = data
, there are missing entries at the start of the data table before scrolling.Expected behavior
Rows would populate correctly after clear then unclear.
Reproduction of the problem
https://ngx-datatable-persistscroll-rp8nam.stackblitz.io
Use this link then scroll to the bottom right of the table. Then click the clear button. Then click the unclear button. Rows will be missing from the top of the data table.
Avoidance This is not a problem if you do not use virtual scroll. i.e. virtualization="false". However, for performance reasons this cannot be done in some applications.
What is the motivation / use case for changing the behavior?
Filtering the data table (i.e. status=Shipped and none of the entries are shipped) then clearing all filters. We should not have to scroll to load in missing data.
Please tell us about your environment:
Table version:
Table 20.1.0
Angular version:
Angular 14
Browser: [all | Chrome]
The text was updated successfully, but these errors were encountered: