I have a dhtmlxGrid with one of the column types as link. When I click on the link, then row this link is in should get selected. How can I do this?
or in other words, I want to get the rowId of the row when I click on the link that is in this row.
It can be done only with code modification. In the dhtmlxgrid_excell_link.js file replace row:
this.setCValue("<a “+valsAr+” onclick=’(_isIE?event:arguments).cancelBubble = true;’>"+valsAr+"",valsAr);
with this.setCValue("<a “+valsAr+” >"+valsAr+"",valsAr);
You can find more information about custom eXcell creation here dhtmlx.com/dhxdocs/doku.php?id=d … l_creation