This is a migrated thread and some comments may be shown as answers.

Changing columns via attributes

1 Answer 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Martin Horst
Top achievements
Rank 1
Martin Horst asked on 04 Jun 2010, 10:09 AM

Hi,

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

Martin

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 10 Jun 2010, 04:22 AM
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,
Alexander
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.
Tags
GridView
Asked by
Martin Horst
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or