Code posted below loads root elements for my tree by ajax request. My tree is very large so I can\'t load all items at once so I need to load elements by requesting children f
Try this :
$('#jstree_demo_div').jstree(options).bind("select_node.jstree",function(event, data){ //Load child node here });//or "dbclick.jstree" instead of "select_node.jstree"