PDA

View Full Version : Tree gid - prevent sibling nodes from collapsing



ttngo
9 Apr 2015, 10:53 AM
In a tree grid, it appears that only one sibling can be expanded at a time. When expanding a new node, the sibling node automatically collapses. Is there a way to override this behavior such that when a new node is expanded, the previously expanded sibling also remains expanded?

Gary Schlosberg
9 Apr 2015, 4:29 PM
It sounds like you need to adjust the singleExpand (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.tree.Panel-cfg-singleExpand) config.

ttngo
9 Apr 2015, 4:33 PM
Doh! I should have done a better job at reading the documentation.

Thank you!