DHTMLX Docs & Samples Explorer

setEditable(mode)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

manage editibility of the grid

  • mode - set not editable if FALSE, set editable otherwise
   //set grid editable
   mygrid.setEditable(true);
   //set grid not editable
   mygrid.setEditable(false);

See also: lockRow, editCell, enableEditEvents, enableMathEditing