开发者

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜