Hi Chuck,
The
GridViewCustomPropertyProvider implementation is simply an example demonstrating how to configure the
RadGridView persistence. Basically the
RadPersistenceFramework uses the
ICustomPropertyProvider implementation to save a set of properties. And creating a custom implementation of that interface allows you to control this set of properties.
The sample in our demos demonstrates how to save a few
Column properties along with the
Filter/Sorting and
Group settings. And it is based on a sample scenario where the
Header of the
Columns is a string. But if your scenario uses another type of header, then you can modify the
GridViewCustomPropertyProvider class to better fit your needs.
For that purpose you need to change the type of the
Header property in the
ColumnProxy class and the
ProvideValue() method. If you have any troubles implementing it, you can send us a sample project demonstrating your scenario and we will guide you through it.
Greetings,
Tina Stancheva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license!
Book your seat now >>