Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vikrant Suman on Feb 04, 2009 05:21
open dhtmlx forum
overide dhtmlxtreegrid double click functionality

Hi,

How i can change the behaviour of double click.at present it open a cell for editing.
Can I put my function for the double click for your dhtmlxtreegrid.

Put help. if possible please provide saple code.

Thanks in advance

Answer posted by Support on Feb 04, 2009 07:32
To disable edit on dbl-click

grid.enableEditEvents(false,false);


To assign custom code

grid.attachEvent("onRowDblClicked",function(id,ind){
     //any custom reaction here
});
Answer posted by Vikrant on Feb 06, 2009 07:54
Thanx