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

[Solved] Show ListTextField when grouping by GridDropDownColumn

1 Answer 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
shovavnik
Top achievements
Rank 1
shovavnik asked on 30 Jan 2008, 09:42 PM
Is it possible to show the value of the ListTextField when grouping by a GridDropDownColumn?

The grouping and sorting work great by default, except that when grouping, the group section headers show the value of the DataField property of the main data source instead of the text value of the drop-down's data source.

I couldn't find a way to do this with the GroupByExpressions either.

Every time I try using dot notation to access the property of the list's data source item, I get an error that the multi-part name could not be found.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Feb 2008, 11:38 AM
Hello shovavnik,

ListTextField by default is not a field located in the grid DataSource and you cannot perform grouping on such field. You can achieve this only if you have additional column in the grid DataSource which represents ListTextField for this column.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
shovavnik
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or