Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by GIGI on Apr 21, 2008 21:36
open dhtmlx forum
how to stop copying values over readonly fields

Even if a column is readonly, we are able to paste values over it.How can we avoid this
Answer posted by Support on Apr 22, 2008 01:59
Can be done by next code modification

dhtmlxgrid_selection.js , line 361

    }else
          if (!ed.isDisabled()) //this line need to be added
                ed[ ed.setImage ? "setLabel" : "setValue" ]( serialized[ k ][ l++ ] );