1. #1
    Sencha User hoanghuu's Avatar
    Join Date
    Oct 2011
    Location
    Viet Nam
    Posts
    13
    Answers
    1
    Vote Rating
    0
    hoanghuu is on a distinguished road

      0  

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

  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.

  3. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,579
    Answers
    540
    Vote Rating
    314
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Try doing the override on Ext.grid.header.Container instead.

  4. #3
    Ext JS Premium Member Asken's Avatar
    Join Date
    Feb 2010
    Location
    sweden
    Posts
    117
    Answers
    2
    Vote Rating
    0
    Asken is an unknown quantity at this point

      0  

    Default


    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.

  5. #4
    Sencha User hoanghuu's Avatar
    Join Date
    Oct 2011
    Location
    Viet Nam
    Posts
    13
    Answers
    1
    Vote Rating
    0
    hoanghuu is on a distinguished road

      0  

    Default


    Quote Originally Posted by Asken View Post
    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.
    It work fine. Thanks.

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi