Click here to Skip to main content
16,023,224 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI


i need some help in javaScript for displaying collapsable rows in tree format

like initially it was like this

name no

1st level: + a 1

in 2nd level clicking on + it should insert new row which shows below

2nd level: - a 1
+ b 2


3rd level : clicking + in the2nd row should insert few more rows

like - a 1
- b 2
+ c 3
+ d 4

same way should be continued for few more rows

again if we click on the - it should hide that paricular row

could you please help me in this regard
i am able to do for fisrt record collapsing

thanks
Posted

1 solution

CP contains many articles in that please pick it from here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900