Unplanned
Last Updated: 18 Oct 2021 11:52 by ADMIN
Alain
Created on: 12 Aug 2013 17:44
Category: Grid
Type: Feature Request
3
Support DescriptionAttribute for enum types
Currently kendo UI web grid component does not read the DescriptionAttribute of a enum type. So, if a have a enum named Gender with values {F, M}, kendo grid will show those values instead "Female", "Male". Example

public enum FooType
{
    [System.ComponentModel.Description("Foo Description")]
    Foo = 0,
    [System.ComponentModel.Description("Bar Description")]
    Bar = 1
}

As the example above kendo grid should use "Foo Description" or "Bar Description" for showing those enum values. Same apply to generating dropdowns for the Filtering columns feature.

Thanks and sorry for my english.
0 comments