Hi all,
I'm new to the whole jQuery scene and have run into a problem that I can't figure out using the jsTree plug-in.
jsTree LinkI'm trying to get the child nodes to load on-demand instead of all-at-once.
The nodes need to be loaded from a MySQL query that is run on the requested page.
I can get the whole tree structure to load easily enough, but since the page will be requested frequently, loading the whole tree every time isn't something I want to do.
Here is the overview of what I'm trying to accomplish:
- load 1st level of tree only
- load 2nd (nth) level, based on parent, only when the expansion icon is click
Any help would be greatly appreciated.