ExtJs 4.1.1 Tree Panel node selection logic -


i using tree panel extjs.

enter image description here

consider above image tree panel. if user selects node 1.1.1.2, should check if sibling checked/selected, if yes, system should select 1.1.1 node , deselect 1.1.1.1, 1.1.1.2, 1.1.1.3 nodes.

similarly, @ point should check siblings of 1.1.1 node (1.1.2 & 1.1.3) & if selected/checked, should deselect 1.1.1, 1.1.2, 1.1.3 , should select 1.1 node.

this kind of check continues until reach root node or 1 siblings of selected node not checked/selected.

what best way achieve this. when best way, looking in-build property or method me achieve this.

thank you

i start bubble method: http://docs.sencha.com/extjs/4.1.1/#!/api/ext.data.nodeinterface-method-bubble


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -