Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kurt on Mar 23, 2009 23:03
open dhtmlx forum
about eXcells type "txt" in dhtmlxGrid

Hi team

The cell's default property is set to be "editable" when I use the eXcells type "txt" in dhtmxGrid.

I want to set the property to be readonly when the page is loaded .

Could you tell me how to set it ? Is it in the dhtmlxgrid.js ? 

 

thanks

Answer posted by dhxSupport on Mar 24, 2009 02:17

You can disable necessary cell with method setDisabled(true):

mygrid.cellById(rowId,cellIndex).setDisabled(true);

or you can lock all row with method lockRow(rowId,mode):

mygrid.lockRow(rowId,true);