Light mouse navigation and onclick callback.

“.setOnRowSelectHandler()” will trigger the provided callback each time
cell selection changes with “.enableLightMouseNavigation(true)”. This
means a hover will trigger the callback, not onclick.



How can I receive a callback only “onclick”, with the rowId and colIndex provided?


There is no native event for such situation , as possible workaround next code can be used

    dhtmlxEvent(grid.obj,“click”,function(e){
       var el = grid.getFirstParentOfType(_isIE?event.srcElement:e.target,“TD”);
       var ind=el._cellIndex;
       var id=el.parentNode.idd;
       //any custom code here
    });