vakata/jstree — Issue #119: Using json w/ajax appends selected node and children
Author: louis
Created: 2011-11-02 19:42:50+00:00
State: open

Hi, first off - great plugin!

I'm using json and ajax to load child nodes for a selected node. After the ajax call returns the selected node's first child is that same selected node which has the correct children instead of the selected node just have its children.

After selecting the result looks something like this:

-- selected
-- selected
-- child 1
-- child 2

Any ideas?