显示异步加载网格的不同掩码-EXTJS
我有多个异步加载的网格,有没有办法为每个网格显示多个屏蔽消息。现在我有这个代码来显示消息显示异步加载网格的不同掩码-EXTJS,extjs,Extjs,我有多个异步加载的网格,有没有办法为每个网格显示多个屏蔽消息。现在我有这个代码来显示消息 loadText = 'Searching sentry Data...'; //Use the mask function on the Ext.getBody() element to mask the body element during Ajax calls Ext.Ajax.on('beforerequest',function(){Ext.getBody().mask(loadTex
loadText = 'Searching sentry Data...';
//Use the mask function on the Ext.getBody() element to mask the body element during Ajax calls
Ext.Ajax.on('beforerequest',function(){Ext.getBody().mask(loadText, 'loading').setHeight(Ext.getBody().getHeight());}, Ext.getBody());
Ext.Ajax.on('requestcomplete',Ext.getBody().unmask ,Ext.getBody());
Ext.Ajax.on('requestexception', Ext.getBody().unmask , Ext.getBody());
我添加了代码,以便在store的load函数中添加掩码,但我认为只能显示一种模式。使用loadMask:true on the grid works