Hello,
I've enabled state persistence for a grid with
but the info regarding filters applied is not stored. Just this info is stored for filters:
I've tried to do manual store and restore state for the grid, and the first time the component is loaded all works fine, but if I move to other page and return, always get this error in console:
This is the code to restore persistence in ngOnInit:
Angular version 12.2.9 and Syncfusion Grid 19.3.44.
Thank you for your support.
Jose
EDIT: The error for querySelector only appears when I assign a value to filterSettings in the ngOnInit, like this:
If I remove this line, the manual persistence works fine.
|
|
Hi Praveenkumar,
I'm not sure why, but after updating to the latest version of Syncfusion (19.3.45) and Angular (12.2.10), without any change to code, persistence filtering is working like a charm.
Thank you very much
Jose