jsTree async with preloaded data.

Posted by Paul Knopf on Stack Overflow See other posts from Stack Overflow or by Paul Knopf
Published on 2010-04-01T20:00:01Z Indexed on 2010/04/01 20:03 UTC
Read the original article Hit count: 856

Filed under:
|

I am trying to make a tree view be async. When the page is rendered, there is default tree items displayed. jsTree tries to reload the root anyway.

I want the page to render (with jsTree init'ed) with default items rendered from browser, not the ajax call. Then we the user tries to go deeper, thats when I want to do do the ajax calls.

Any help is appreciated. Thanks!

© Stack Overflow or respective owner

Related posts about jstree

Related posts about async