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 User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,338
    Answers
    498
    Vote Rating
    248
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar