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

RadGrid Filtering and display of Enum properties

1 Answer 388 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 04 Apr 2011, 09:46 AM
Has anything improved with Q1 2011 on filtering of Enums ?

Unfortunately it's quite common to use eNums in C# and to need to bind objects containing enum properties to the Telerik grid.

Whilst the values display ok in the grid the filters offer integer choices only rather than a selection list of the string equivalents. Also when editing values in cells it is the integer values that are requested (unfamiliar to the users of a system).

Martin

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 07 Apr 2011, 07:59 AM
RadGrid does not currently support enum filtering and editing off-the-shelf. You can set up custom FilterTemplate for setting up a dropdown list containing your enum values. For editing, you can use a GridTemplateColumn and define a similar dropdown list in the EditItemTemplate containing your enumerated values.

Veli
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
Grid
Asked by
Martin
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or