Persist grid columns possible?

2 posts, 0 answers
  1. Michael
    Michael avatar
    1 posts
    Member since:
    Sep 2012

    Posted 02 Jul 2014 Link to this post

    Hi,

    We are considering using Telerik UI for WPF but would like to know if it is possible to customise which columns are present in the grid and the ability to save the preference (so each user running the system can have their own view of the grid only showing information/columns they are interested in)

    Many thanks,

    Mike
  2. Boris
    Admin
    Boris avatar
    276 posts

    Posted 03 Jul 2014 Link to this post

    Hello Mike,


    In order to decide which GridView column is displayed in the grid you can use the IsVisible property of the column. In addition to serialize it along with the other preferences(sort, filter, resize, reorder, etc.) to RadGridView you will need a CustomPropertyProvider to define the properties that should be persisted by RadPersistenceFramework

    You can examine our GridView Serialization demo which demonstrates custom serialization of properties for Sorting and Grouping, width and position change of the columns.

    Please let us know if this helps.


    Regards,
    Boris Penev
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top