EnablePersistence is incompatible with GridColumn Visible and ShowInColumnChooser

SetEnablePersistence =true, ShowColumnChooser=true on a grid
on a column, set Visible=false and ShowInColumnChooser=false
The column header still shows and it still appears in the column chooser.

Attachment: bug_82a9fb49.zip

1 Reply

VN Vignesh Natarajan Syncfusion Team February 21, 2020 06:54 AM UTC

Hi Customer,  

Query: “The column header still shows and it still appears in the column chooser. 
 
We have analyzed your query and screenshot, we suspect that reported issue is occurring due to browser cache. Because when Persistence is enabled in Grid, we have will save the state of Grid in localstorage using Grid ID. So every time the Grid renders, it is refreshed from local storage.  

So to overcome the reported issue, kindly ensure the reported issue by clearing the browser cache or localstorage or incognito mode. Or kindly change the ID property of Grid.  

If you are still facing the reported issue, kindly share the following details.   

  1. Share your Syncfusion Nuget package version.
  2. Entire Grid code example.

Regards, 
Vignesh Natarajan. 


Loader.
Up arrow icon