is there a way to have an "onClick" event in grid?

I want to be able to left click the first cell on a row to edit. The user wants an “edit” icon there that he can click. Right now I can double click to edit or right click and select from a menu option or even the first time when I click that cell. The problem is there does not appear to be an onClick event, just onRowSelect and onRowDblClick. After the row has been selected on the first try, the row is selected and clicking the icon again doesn’t do any good. Any ideas?

Unfortunately there is no onClick event, that is true, you can fallback to native DOM events

dhtmlxEvent(mygrid.obj, "click", function(e){ var row = mygrid.getFirstParentOfType("TR"); if (row && row.idd) alert(row.idd); })

That worked. thanks