How do you localize the message of Ext.LoadMask?
How do you localize the msg
of Ext.LoadMask
? I tried using Ext.override
, but my gridpanel loading from a store still shows Loading...
instead of the text I p开发者_开发问答rovided.
you don't have to override loadMask, you can set the text of the loading mask on the grid view. Just add the view config to your grid
viewConfig: {
loadingText: 'your special text'
}
Edit You can override the grid view if you wan't the same text for all your grids
Ext.override(Ext.grid.View,{
loadingText: 'your special text'
});
精彩评论