dhtmlxgrid on row click event

Hi.

I have this.grid:

mygrid = new dhtmlXGridObject(“gridbox”);
mygrid.setImagePath(“codebase/imgs/”);
mygrid.setHeader(‘a,b,c’);
mygrid.setInitWidths(",,*")
mygrid.setColAlign(“left,left,left”)
mygrid.setColTypes(“ed,ed,ed”);
mygrid.setColSorting(“str,str,str”)
mygrid.init();
mygrid.setSkin(“dhx_skyblue”);
mygrid.load(“data.js”,“jsarray”);
mygrid.attachEvent(“onRowSelect”, doOnRowSelected); mygrid.enableLightMouseNavigation(true);
mygrid.enableKeyboardSupport(true);
when i select a row function doOnRowSelected is executed.
I want to execute that function when i click on the row.
Any help please

Try to use “onEditCell” event. In you case event will be fired when you click on cell and cell editor is opened. docs.dhtmlx.com/doku.php?id=dhtm … oneditcell