1. #1
    Sencha User
    Join Date
    Aug 2007
    Posts
    21
    Vote Rating
    0
    exebenus is on a distinguished road

      0  

    Default Answered: How to apply Locale in RowEditing's buttons ('Update' & 'Cancel')

    Answered: How to apply Locale in RowEditing's buttons ('Update' & 'Cancel')


    Hi,

    I'm using the locale file correctly (I think) but how can I apply the locale options in those dinamic buttons shown when editing inside grids using rowEditing plugin?

    extjs_problem.PNG

    Thanks in advance!

  2. Seems to be missing from the locale files. User-facing strings like these are usually placed on the prototype of the relevant class so that they can be easily modified. I haven't tested it but from a quick look at the source code I think something like this will probably work:

    Code:
    Ext.apply(Ext.grid.RowEditor.prototype, {
        saveBtnText  : 'abc',
        cancelBtnText: 'abc',
        errorsText: 'abc',
        dirtyText: 'abc'
    });

  3. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,575
    Answers
    540
    Vote Rating
    311
    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


    Seems to be missing from the locale files. User-facing strings like these are usually placed on the prototype of the relevant class so that they can be easily modified. I haven't tested it but from a quick look at the source code I think something like this will probably work:

    Code:
    Ext.apply(Ext.grid.RowEditor.prototype, {
        saveBtnText  : 'abc',
        cancelBtnText: 'abc',
        errorsText: 'abc',
        dirtyText: 'abc'
    });

  4. #3
    Sencha User
    Join Date
    Aug 2007
    Posts
    21
    Vote Rating
    0
    exebenus is on a distinguished road

      0  

    Default


    Thank you!!! It worked perfectly!!

    Sorry taking so long to answer... I've been away for a long time..

Thread Participants: 1

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