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



To disable edit on dbl-click

grid.enableEditEvents(false,false);


To assign custom code

grid.attachEvent(“onRowDblClicked”,function(id,ind){
//any custom reaction here
});

Thanx