PDA

View Full Version : [ExtJS 4] Tree Panel - Load Mask



beerumrakesh
7 Nov 2011, 4:58 AM
Hi There,

I want to have loadMask while my tree panel is rendering.

I have not assigned the store to tree panel; I am creating the node on tree render event in my controller.

It seems, As I have not assigned the store, I am not able to see the mask while loading the tree.

Can anyone suggest the work around for the same?

Thanks & Regards,

mitchellsimoens
7 Nov 2011, 8:52 AM
You can use setLoading method on the panel.

http://docs.sencha.com/ext-js/4-0/#!/api/Ext.tree.Panel-method-setLoading

beerumrakesh
9 Nov 2011, 9:55 AM
Hi mitchellsimoens,

Thanks a lot. I really appreciate your help

It worked like a charm.

Regards