GC.Spread.Sheets Namespace > CellRange type : locked Method |
true
to lock the cell.
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea); var returnValue; // Type: any returnValue = instance.locked(value);
function locked( value : boolean ) : any;
true
to lock the cell.activeSheet.getRange(2, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).locked(false);
activeSheet.getCell(1,1).locked(true);
activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).locked(true);