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

Localizing column header

1 Answer 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Psycho Nelo
Top achievements
Rank 1
Psycho Nelo asked on 28 Mar 2010, 04:46 PM
Is it possible for localize the column headers/titles?

1 Answer, 1 is accepted

Sort by
0
Mattias
Top achievements
Rank 2
answered on 29 Mar 2010, 08:55 AM
An easy way would be to creat an global or view resource, example:
//Change 
Columns.Bound(Column => Column.nLastMilage).Title("Milage"); 
 
//To 
Columns.Bound(Column => Column.nLastMilage).Title(Resources.Resources.Milage); 

Resources are accessed from your project settings.
Tags
Grid
Asked by
Psycho Nelo
Top achievements
Rank 1
Answers by
Mattias
Top achievements
Rank 2
Share this question
or