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

How can I translate the column menu labels (filter) into a different language?

1 Answer 494 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Florian
Top achievements
Rank 1
Florian asked on 13 Nov 2012, 08:39 AM
Hi

Within a grid the header of each column allows to open a popup showing the items:
1) sort ascending
2) sort descending
3) columns
4) filter

How can I change the displayed text into a different langugage?

Thanks for your help
Florian

1 Answer, 1 is accepted

Sort by
0
Florian
Top achievements
Rank 1
answered on 14 Nov 2012, 03:45 PM
You can customize the text of the columnMenu through the configuration options. Here is the syntax:
columnMenu: {
    messages: { //customize the text
        sortAscending: "Sort Ascending",
        sortDescending: "Sort Descending",
        filter: "Filter",
        columns: "Columns"
    },
    columns: true, //enable columns section
    sortable: true, //enable sorting section
    filterable: true //enable filterable section
},

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