lockRow

locks/unlocks a row for editing

void lockRow(string|number rowId,boolean mode);

Parameters

rowIdstring|numberid of a row
modebooleantrue/false to lock/unlock

Example

//lock row with id "row1" for editing
myGrid.lockRow("row1",true);
//unlock row with id "row1" for editing
myGrid.lockRow("row1",false);

Back to top