We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

enablePersistence="true" skip filter caching

We are trying to preserve only data columns that user selected, so we enabled persistence.

But it is caching Pagination, filtering also. is there a way to avoid filtering cache when persistence enabled

Please assist. thank you

3 Replies 1 reply marked as answer

JC Joseph Christ Nithin Issack Syncfusion Team December 12, 2022 08:34 PM UTC

Hi Mahesh,

Greetings from Syncfusion support.

Query : Disable persisted state for grid's filtering and paging functionality

From your query, we understand that you want to prevent persisted state for column filtering and sorting. We prepared a sample to remove the filterSettings and pagesettings from the persistence in the addOnPersist method using dataBound event. Please refer the below code, documentation and sample for more information

Documentation : https://ej2.syncfusion.com/aspnetcore/documentation/grid/state-persistence/prevent-to-persist


Joseph I.

Marked as answer

MM Mahesh Machina replied to Joseph Christ Nithin Issack December 14, 2022 04:37 PM UTC

Thank you, Joseph I.

is it possible to persist row position also? we have  allowRowDragAndDrop="true"

JC Joseph Christ Nithin Issack Syncfusion Team December 19, 2022 02:52 AM UTC


   By default row drag and drop is performed in the UI side only, this does not affect the position of the record in the dataSource. Hence it is not feasible to persist the position of the records that are changed using row drag and drop feature.

Live Chat Icon For mobile
Up arrow icon