How to Reference JSON Data in the jQuery ztree Tree Plugin
Add-ons

Plugin description: a list generated with the ztree plugin; content beyond the bounds scrolls instead of overflowing the div
Note: because it loads external JSON data, local preview will hit cross-origin issues; run it on a server.
Just place ztree inside <div></div>; change font colors directly in the CSS file.
Removed all the unused data packages. It includes the JSON data reference approach - probably the only one of its kind online.
评论