open the node in Jqtree

open the node in Jqtree

 $('#tree1').tree('openNode', node);

I have used above code for open the node in Jqtree but some time i not working.how can i handle this issue?