persistence settings are controlled via a custom property provider, so it is up to you to extend it to cover your needs. The sample GridViewCustomPropertyProvider
we demonstrate in our online demos, doesn't persist the visibility of the columns. So you need to find the property that controls the visibility of the column and make sure it is persisted in the GridViewCustomPropertyProvider Restore/ProvideValue
As this property is the GridViewColumn
property, you'll have to define a corresponding property in the ColumnProxy
class and extend the Restore/ProvideValue
methods to save its value. I attached a sample solution demonstrating this approach.
the Telerik team