Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stevo on Apr 09, 2008 07:37
open dhtmlx forum
[GRID] Get rid of [+] sign when using sub_row_ajax

When using sub_row_ajax, a small image of [+] sign is visible in column. It is all right, however I do use row-click to expand rows, therefore I would like to get rid of this column not to confuse users and save space. Is there any method to accomplish this?
Answer posted by Support on Apr 10, 2008 02:12
The only way to made such update - modify code of sub_row excell

dhtmlxgrid_excell_sub_row.js   , line 10

this._setState = function(m,v){
        (v||this.cell).innerHTML="<img src='"+this.grid.imgURL+m+"' width='18' height='18' />";

can be changed to
this._setState = function(m,v){
        (v||this.cell).innerHTML="<div width='18' height='18' >&nbsp;</div>";