-
11 Oct 2011 7:39 PM #1
Answered: How to change text for grid header context menu?
Answered: How to change text for grid header context menu?
hi there,
I used Ext JS 4.0.2a and i have a question, how can i change text of grid header context menu? (ex: sortAscText, sortDescText, columnsText, ...)
I tried override them as code below, but it not work.
Code:Ext.onReady(function(){ Ext.override(Ext.grid.column.Column, { sortAscText: 'Sắp xếp tăng', sortDescText: 'Sắp xếp giảm', columnsText: 'Hiển thị cột' }); });
-
Best Answer Posted by Asken
If you're trying to localise the extjs application you should include the extjs/locale/ext-lang-vn.js file or your own version of it to get it in Vietnamese.
-
12 Oct 2011 12:31 AM #2
Try doing the override on Ext.grid.header.Container instead.
-
12 Oct 2011 1:31 AM #3
If you're trying to localise the extjs application you should include the extjs/locale/ext-lang-vn.js file or your own version of it to get it in Vietnamese.
-
12 Oct 2011 9:32 PM #4


Reply With Quote
