Link to home
Start Free TrialLog in
Avatar of tonelm54
tonelm54

asked on

JsTree loading data

I've been reading up on using jsTree and trying to figure out how to load data into the tree. My data I want to load is massive so I will need to use ajax, so when a node is clicked on I want it to go off and pull in the child nodes.

Ive seen some examples of binding to the click event then going off to pull the child nodes back however Im unable to find any examples how to bind on click of the node, change the icon to a 'waiting gif' and then pull down an ajax json request and draw child nodes showing which ones can expand and bind expandable nodes to draw more.

Anyone got any examples or any documentation on binding to a node and drawing child nodes from the json returned request?

Thank you for any assistance anyone can provide
ASKER CERTIFIED SOLUTION
Avatar of Mrunal
Mrunal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial