troubleshooting Question

Populating a yui javascript treeview control

Avatar of dmontgom
dmontgom asked on
JavaScriptWeb ApplicationsJScript
2 Comments1 Solution834 ViewsLast Modified:
I am trying to use the yui tree view control and sort of get it
I just dont get how to use the call backs.
I have a table that looks like this....

parent_id, child_id, descripton
0,      0,      root
0,      1,     A
1,      2,      A1
1,      3,      A2
0,      4,      B
4,      5,      B1
4,      6,      B2

How do I write the code to populate a yui treeview control? I am so
new to this so the more information the better.....the tree needs to populate to an arbitarty depth.

Thanks in advance.....
ASKER CERTIFIED SOLUTION
Dirar Abu Kteish

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros