I have noticed that the default behavior for opening a node is different when a user clicks the +/- icon versus double clicking the node. When clicking the +/- icon, the node is not selected. However, when a user double clicks the node thenode becomes selected.
The desired behavior in my case is that the nodes not be selected when the user is opening a node. This is regardless of whether the user has clicked the +- icon or double clicked the node.
The one solution I have tried is to override the default event handlers for opening a node (by returning false in my event handler). THe problem with this is that I still need to have the node opened and calling o_item.open recursively triggers my event handler resulting in stack overflows.
Has anybody dealt with this?
actually im having the SAME issue.
And i cant seem to figure out why
If i use the item scope methos i dont get the error But I dont get it expanding for any reason after that as well.
Actually double-click always occurs after click event. On click select action is performed, on double-click - toggle.
o_item.select(1); // deselects node
return true; //default open routine