开发者

How do you localize the message of Ext.LoadMask?

开发者 https://www.devze.com 2023-04-08 20:13 出处:网络
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 o

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

精彩评论

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

关注公众号