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

Autogenerate GridViewColumnGroup from datasource

2 Answers 78 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jason Parrish
Top achievements
Rank 1
Jason Parrish asked on 06 Oct 2011, 03:33 PM
Can the grid autogenerate GridViewColumnGroup's based on a property on the items in the datasource?  This would be similar in how columns can autogenerate.

2 Answers, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 07 Oct 2011, 09:24 AM
Hi Jason Parrish,

Presently, the columns in GridViewColumnGroup cannot be auto-generated. When you create its definition, you should rely on already created columns. We can generate the columns depending on the data source, but we cannot determine in which group they should be located. This is one of the major concerns that stops implementing such a feature. 

All the best,
Svett
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Jason Parrish
Top achievements
Rank 1
answered on 07 Oct 2011, 02:47 PM
Thank you.  It would be a very nice feature, especially if you can simply specify what property of the databounditem to bind to.
Tags
GridView
Asked by
Jason Parrish
Top achievements
Rank 1
Answers by
Svett
Telerik team
Jason Parrish
Top achievements
Rank 1
Share this question
or