How to select a specific node programmatically?
Just wanted to chime in here as none of the answers worked for me. What finally DID work was very simple: $(‘#someTree’).jstree(‘select_node’, ‘someNodeId’); Note that I didn’t initialize someNodeId as a jQuery object. It’s just a plain string. I did this right after a tree was loaded without putting it into a “ready” bind event … Read more