I work with jstree with ajax, and I see that all my nodes have an arrow to expand it, even those that don't have children. On the jstree demo page http://www.jstree.com/demo it is not. I donβt see anything different from mine in the demo code, is that what happens from the server? Do I have a parameter to respond to the getChildren method to say in jstree "this one, you have no children, is not allowed to expand it"?
Does anyone know where he comes from? And what can I do to fix this?
Because it seems to be a problem when I used the copy / paste function of the contextmenu plugin. When I insert on a node (new parent) without children and still do not open (so that the children have not been loaded), nothing happens except for a request for children (for example, if I click to open the node), which return nothing. And it does not execute the move_node function.
EDIT: I have the same problem with βaddβ from context menu
Can anybody help me?
thanks
Tigi
source share