PDA

View Full Version : Hierarchical Table with HTML and JS



krs
02-15-2014, 02:12 AM
I am trying to create a hierarchical table using HTML and jquery.

In my attachment if i click expand/Collapse check box I should see only Main group1 and Main Group 2

When I click Main group1 I should see all the child's toggle i.e only sub group.

Also the HTML design I have doesn't give perfect structure can anybody help me with this.
I am Creating the structure in HTML once I get the structure I want to crate in asp.net as dynamic HTML with
so i need help in how to design the child group.

http://jsfiddle.net/cMQvZ/ in js fiddle Main group2 shows wrongly It should be in same level as main group1.