Changing columns via attributes

2 posts, 0 answers
  1. Martin Horst
    Martin Horst avatar
    40 posts
    Member since:
    Apr 2010

    Posted 04 Jun 2010 Link to this post


    I'm displaying several type of classes using the BindingList class as a DataSource. The GridView automatically generates columns of the names of the properties defined in these classes. In this case te text of the columns can be set with the DisplayName attribute. So far so good. My question now is, if there is a way to  change the order of the columns via property attributes and/or if it is possible the hide some properties from beeing displayed. 

    Thanks in advance


  2. Alexander
    Alexander avatar
    306 posts

    Posted 09 Jun 2010 Link to this post

    Hello Martin Horst,

    Please refer to this help article concerning RadGridView binding to custom collections. Do not hesitate to write back if you have questions.

    Kind regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top