Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vikas Manhar on Jan 10, 2008 01:42
open dhtmlx forum
Selection of node on right click with contextmenu

In DHXtree v1.6 , the node is not get selected when using context menu on right click. How to achieve this and add this functionality.
Answer posted by Support on Jan 10, 2008 03:15
This is default behavior, you can force node selection by next code modification
dhtmlxtree.js , line 169
    dhtmlXTreeObject.prototype._doContClick=function(ev){
    ...
    var obj=el.parentObject;
    obj.treeNod._selectItem(obj); //  <<this line added