primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Provide facilities to preserve and restore the full state of the p-dataTable component.

Open llech opened this issue 10 years ago • 7 comments

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.

llech avatar Nov 15 '16 11:11 llech

+1 That'd be great to have

rmarchiori avatar Nov 21 '16 20:11 rmarchiori

+1 This is almost essential if users have large data tables (and switch back and forth to an edit page).

myElectrical avatar Dec 01 '16 11:12 myElectrical

+!. I believe you have that feature in the java version.

ralph-fuechtenkort avatar Dec 13 '16 00:12 ralph-fuechtenkort

+1

gregkopp avatar Jan 13 '17 18:01 gregkopp

+1

dereklin avatar Feb 20 '17 08:02 dereklin

+1

hugograf avatar May 05 '17 05:05 hugograf

Duplicate of #304

cagataycivici avatar Jun 07 '17 06:06 cagataycivici