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

Internationalization of grid column names

1 Answer 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 30 Apr 2012, 10:34 AM
Hi
Do you have any suggestions or best-practices for internationalization of the column names in the Kendo Grid?

I thought of creating a RESTservice that would give a JSON mapping for the language in question.

/Thomas

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 02 May 2012, 02:26 PM
Hello Thomas,

I am afraid that the column names cannot be bound to a remote data or changed through the grid settings after initialization out of the box. As a workaround you could modify the titles through custom JavaScript or set up the titles through the column title property before grid's initialization.
columns: [
    { field: "foo", title: "bar" }
]

If you did not specify the title, the grid will use the field name.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Thomas
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or