SKSujith Kumar Rajkumar Syncfusion Team July 3, 2020 02:32 AM
Greetings from Syncfusion support.
From your query we could see that your requirement is to get the grid settings so that you can store and restore them later. You can use the Grid’s getPersistData method to get the current grid settings to achieve your requirement. This will return the settings as displayed in the below image,
Then you can restore the entire saved settings or the required settings to the Grid using its setProperties method as demonstrated in the below code snippet,
var grid = document.getElementById('grid').ej2_instances
var persistData = JSON.parse(grid.getPersistData())
// Restores the filter and sort settings to the Grid