Grid Single click

Dear sir,



I can see the doOnRowDblClicked but I’m interested in processing the “Row Single Click” there is any way to do it ? I’m using a read only grid and I’ve tested to make editable the cells in my grid and using the OnEdit, but insists still on a double click.



There is any way to receive the Single Click event in grids ? I’m reading the knowledge base but can not find any answer.



Thanks for any answer, and thanks a lot for yesterday’s fast and correct answer.

There is any way to receive the Single Click event in grids ? I’m reading the knowledge base but can not find any answer.

There is no special onClick event, but you can use onSelect for the same purpose

    grid.setOnRowSelectHandler(function(){
       //any code here
       return true;
    },true);


Also you can enable edit-by-single-click

    grid.enableEditEvents(true,false,false);