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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Where are removed columns stored?

Thread ID:





108618 May 2,2013 11:40 AM UTC May 8,2013 10:14 AM UTC WPF 2
Tags: GridControl
Brian Harkness
Asked On May 2, 2013 11:40 AM UTC

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?

Brian Harkness
Replied On 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.

Gobinath A [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon