-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Provide facilities to preserve and restore the full state of the p-dataTable component. #1311
Comments
+1 That'd be great to have |
+1 This is almost essential if users have large data tables (and switch back and forth to an edit page). |
+!. I believe you have that feature in the java version. |
+1 |
2 similar comments
+1 |
+1 |
Duplicate of #304 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The p-dataTable componen has already bindings for sortField/sortOrder, that enable to save the sort state and restore it when the user comes back in navigation, for example from editing a row on separate page.
However, to fully restore the state of the datatable, one need to set column filters and paginator state (what page is selected). Actually, I see in the docs no API method that would allow me to do that. The best way would be providing data bindings for current paginator page and filter column value. It would allow to implement fully professional behaviour of the component.
The text was updated successfully, but these errors were encountered: