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

Where are removed columns stored?

I would like to save the settings after a user selects which columns to display using the column chooser dialog, however I can't use the built in method to serialize the grid settings as restoring these will cause any column bindings to be lost (I have already reported this issue).  So I currently persist the sort order myself, and now would like to do the same for the removed columns, but I can't find where this info is stored!  The sorted columns can be found in the SortColumns property of the grid, but where can I find the removed columns?

2 Replies

BH Brian Harkness May 3, 2013 09:14 AM UTC

I found the answer myself, they are stored in the ColumnChooserColumns member of the grid. Unfortunately this is a private field, but I have got around this by using reflection and have managed to save/restore the settings as I wanted.

GA Gobinath A Syncfusion Team May 8, 2013 10:14 AM UTC

Hi Brian,

We are glad to know the issue is resolved.

Please let us know if you have any concerns.


Gobinath A.

Live Chat Icon For mobile
Up arrow icon