Results 1 to 4 of 4

Thread: How to change text for grid header context menu?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User hoanghuu's Avatar
    Join Date
    Oct 2011
    Location
    Viet Nam
    Posts
    13
    Answers
    1
    Vote Rating
    0
      0  

    Default 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' });
    });

  2. 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •