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

Enum translation

0 Answers 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
saygon
Top achievements
Rank 1
saygon asked on 21 Nov 2012, 11:35 AM
I want to translate enumerators and still have working filters.
For example:
enum Sex{
Male,
Female,
Other
}
I want to translate its values accorting to selected language in my application.

From my findings I know that enum values are gathered during JSON serialization and stored in "values" property of enum column.
I tried replacing it after grid creation on client side, but it didn't have any efect.
On the serwer side there sems to be no way to change those values.
Is there any way to change them? (apart from parsing generated html - that is my last resort) 

No answers yet. Maybe you can help?

Tags
Grid
Asked by
saygon
Top achievements
Rank 1
Share this question
or