How to select the node, when i am using right-click (Context-menu)

28 views
Skip to first unread message

sure

unread,
Jun 3, 2009, 3:38:07 AM6/3/09
to jsTree
Hi Ivan,
I don't get response for my last question. I think you
little bit busy with your work. What so ever, the problem was solved.
Now what i am facing the problem is , when i am right click on any
node for choosing custom context-menu option, than node will not be
selected after context menu option clicked. Here i would like to
select that node for the purpose of which node is selected in tree at
the movement.
I have tried this by all means. But i am failed. Here is my
implemented code for right-click event.
<code>
onrgtclk:function(NODE, TREE_OBJ, EV)
{ $(NODE).children("a").addClass
("clicked");
}
</cdoe>

when i am using this code. Context menu will be disappear. Please let
me know how can i solve this problem.

with Regards
sure.
Reply all
Reply to author
Forward
0 new messages