Reputation: 2480
I created a treepanel has config singleExpand: true,
I try to change it in somewhere like tree.singleExpand = false;
but that not working. Is that possible? how can i do that thank
Upvotes: 1
Views: 146
Reputation: 461
you likely have to set it to false, then updateLayout()...
tree.singleExpand=false;
tree.updateLayout();
Upvotes: 2