1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    200
    Answers
    11
    Vote Rating
    4
    dedoz is on a distinguished road

      0  

    Default Answered: Ext.grid.Panel localize loading mask text

    Answered: Ext.grid.Panel localize loading mask text


    im trying to localize to spanish the "Loading ...." mask in the grid panel.
    Mask appears by default while loading its associated store.

    i have a ext-lang-es.js from the libary and most things are traslated but loading mask text
    i have this (in that file)
    Code:
    if(Ext.LoadMask){
         console.log('traslate mask') // just to check if this code is executing
          Ext.LoadMask.prototype.msg = "Cargando...";
    }
    its executed but its not working, grid still shows "Loading ..."

    how can i do this ? translate that grid Loading msg.
    thanks.

  2. Have a try by adding this to ext-lang-es.js
    Code:
        if(Ext.view.AbstractView){
          Ext.view.AbstractView.prototype.loadingText = "Cargando...";
        }

  3. #2
    Sencha - Community Support Team
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    346
    Vote Rating
    109
    vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all

      0  

    Default


    Have a try by adding this to ext-lang-es.js
    Code:
        if(Ext.view.AbstractView){
          Ext.view.AbstractView.prototype.loadingText = "Cargando...";
        }

  4. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    200
    Answers
    11
    Vote Rating
    4
    dedoz is on a distinguished road

      0  

    Default


    works, thanks.

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