Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
显示异步加载网格的不同掩码-EXTJS_Extjs - Fatal编程技术网

显示异步加载网格的不同掩码-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