This question is locked. New answers and comments are not allowed.
Hi,
I have an enum column in a grid something like this
col.Bound(m => m.UserType).ClientTemplate("<#= UserTypeEnum[UserType] #>");
The column is filterable and the default grid filter provides values to be selected from names of enum. Actually I have set "description" attribute on the Enum names and I need to display descriptions (instead of names) in the filter. How can I display "descriptions" in filter ?
regards,
Nirvan.
I have an enum column in a grid something like this
col.Bound(m => m.UserType).ClientTemplate("<#= UserTypeEnum[UserType] #>");
The column is filterable and the default grid filter provides values to be selected from names of enum. Actually I have set "description" attribute on the Enum names and I need to display descriptions (instead of names) in the filter. How can I display "descriptions" in filter ?
regards,
Nirvan.