Reputation: 43
I want to mask only my grid component, when the data is getting loaded. But on load mask , the whole window gets masked.Please suggest the necessary changes to achieve this behavior. You can access the code in the below fiddle path, provided.
https://fiddle.sencha.com/#fiddle/fti
Thank You...
Upvotes: 0
Views: 2400
Reputation: 144
You can call grid.setLoading(true)
or grid.setLoading('Custom Message')
if you have a reference to the grid.
Upvotes: 1
Reputation: 4138
Try this:
var gridPanel = new Ext.grid.Panel({
...
viewConfig: {
loadMask: true
},
...
});
Hope that helps.
Upvotes: 0