How to disable LoadMask on GridPanel

I have a GridPanel that updates every 10 seconds.

var refreshEnvironmentsStoreTask = { run: function() { this.getEnvironmentsStore().load() }, scope: this, interval: 10000 //10 second } Ext.TaskManager.start(refreshEnvironmentsStoreTask); 

As a result, frequent updates in the grid appear to flicker. I want to disable LoadMask, but the following code does not work:

 Ext.define('MyGrid' ,{ extend: 'Ext.grid.Panel', store : 'Environments', viewConfig: { loadMask: false } }); 
+4
source share
2 answers

Since the OP never shed any light on this, and I searched for it today, the answer is that this will work in ExtJS versions after 4.01. I am using it now:

 Ext.define('MyGrid' ,{ extend: 'Ext.grid.Panel', store : 'Environments', viewConfig: { loadMask: false } }); 
+5
source

Did you try to create a simple page and turn it off there before you do this on your page? It seems that you have a default value set that is false to false.

Ext.LoadMask

Ext.ComponentLoader

0
source

All Articles