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...

\n

Thanks in advance

asked 29 Feb '12, 04:17

hansie's gravatar image

hansie
51428
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.

link

answered 29 Feb '12, 22:50

Gaudenz's gravatar image

Gaudenz
80.1k1310
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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

Tags:

×228
×79
×11
×10

Asked: 29 Feb '12, 04:17

Seen: 3,171 times

Last updated: 29 Feb '12, 22:50