DHTMLX Docs & Samples Explorer

lockRow(rowId, mode)

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

lock/unlock row for editing

  • rowId - id of row
  • mode - true/false - lock/unlock
   //lock row with id "row1" for editing
   mygrid.lockRow("row1",true);
   //unlock row with id "row1" for editing
   mygrid.lockRow("row1",false);

See also: editCell, editStop, enableEditEvents, setEditable