Categories | Question details Back To List | ||
dhtmlxGrid with column type link 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. Answer posted by dhxSupport on Dec 07, 2009 02:06 It can be done only with code modification. In the dhtmlxgrid_excell_link.js file replace row: this.setCValue("<a "+valsAr[1]+" onclick='(_isIE?event:arguments[0]).cancelBubble = true;'>"+valsAr[0]+"</a>",valsAr); with this.setCValue("<a "+valsAr[1]+" >"+valsAr[0]+"</a>",valsAr); You can find more information about custom eXcell creation here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:toc_custom_excell_creation |