0
root
  A         //sub node
    A1     //sub node
      A11     // leaf node
    A2     // sub node
  B
    B1
    B2
  C

is there way to collapse/expand the sub nodes in dynamically. i tried this way

 tree.collapsePath(PreselectedPath);
 tree.expandPath(currentSelectedPath); 
 or 
 tree.expandRow(currentIndex);
 tree.collapseRow(preIndex);

it will works on first level node only apart from that it wont work. so is there any way to collapse/expand accordingly..?

Karthick
  • 183
  • 3
  • 14

0 Answers0