SpreadJS Documentation
locked Method
Set to true to lock the cells in the column for editing.
Gets or sets whether the cells in the column are locked. When the sheet is protected, the locked cell cannot be edited.
Syntax
var instance = new GcSpread.Sheets.Column(sheet, index, sheetArea);
var returnValue; // Type: boolean
returnValue = instance.locked(value);
function locked( 
   value : boolean
) : boolean;

Parameters

value
Set to true to lock the cells in the column for editing.

Return Value

true if the cells in the column are locked; otherwise, false.
Example
This example locks the column.
activeSheet.getColumn(3).locked(true);
Remarks
The default value is true.
See Also

Reference

Column type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.