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


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);