Thanks for the answer and pointing me in the right direction!
I will switch my backend to json. The example on
http://www.jstree.com/docs/json/ ("Using AJAX") is confusing to me. Where is the url? How do I set the dataType?
My tree loading icon keep spinning, I tried many ways to pass the url in there.
The documentation here:
http://www.jstree.com/api/#/?f=$.jstree.defaults.core.datasays this:
'core' : {
'data' : {
'url' : '/get/children/',
'data' : function (node) {
return { 'id' : node.id };
}
}
});
That didn't work either. Can you post a full example? I will keep trying and report success or failure - thanks!