How to collapse all children on load in tree. On load all the childrens of the root node to be hidden, need only the root menu to be visible,after that on click of expand the next childrens of that particular node to be expanded,like this i want to expand one after the other...


Thanks in advance

asked 29 Feb '12, 04:17

hansie's gravatar image

accept rate: 0%

edited 29 Feb '12, 04:18

Check out the orgchart.html example, it demonstrates how to recursively traverse a tree and find the respective cells.


answered 29 Feb '12, 22:50

Gaudenz's gravatar image

accept rate: 39%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 29 Feb '12, 04:17

Seen: 3,171 times

Last updated: 29 Feb '12, 22:50