SpreadJS Documentation
getIsProtected Method
Gets a value that indicates whether cells on this sheet that are marked as protected cannot be edited.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: boolean
value = instance.getIsProtected();
function getIsProtected() : boolean;

Return Value

A value that indicates whether cells on this sheet that are marked as protected cannot be edited.
Example
This example uses the getIsProtected method.
activeSheet.setIsProtected(true);
alert(activeSheet.getIsProtected());
Remarks
The default value is false.
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.