PDA

View Full Version : Is it possible to set loading mask on Grid row, not entire grid?



whalethewise
1 Nov 2011, 10:48 AM
I just can't find any way to get grid row component to call setLoading on it

Thanks

mitchellsimoens
1 Nov 2011, 11:41 AM
You can create your own loading mask and have it on a specific el

http://docs.sencha.com/ext-js/4-0/#!/api/Ext.LoadMask

whalethewise
1 Nov 2011, 12:49 PM
Would you recommend how to get a Grid row as an element?

Thanks

mitchellsimoens
1 Nov 2011, 12:53 PM
var view = grid.getView(),
node = view.getNode(rec);

new Ext.LoadMask(node, {...});

whalethewise
1 Nov 2011, 12:57 PM
Thanks a lot