I have a jstree set up (on div id =surveyManager). And i have bound the dbclick and rename function to it as under:
.bind(rename.jstree, function (node, data) {
edit_node(node,data);
}),
.bind(dblclick.jstree, function (event) {
//Double Click to Rename
jQuery(#surveyManager).jstree(rename);
})
over here edit_node is a function that have to implement to pass all the node information thru an ajax call.
Is it possible to setup the tree, such that on dbclick, instead of renaming the node, i can just trigger the edit_node(node,data). Maybe another jstree function , or somewhereelse i could define it. Please help