SpreadJS Documentation
setIsProtected Method
Whether cells on this sheet that are marked as protected cannot be edited.
Sets 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: any
value = instance.setIsProtected(isProtected);
function setIsProtected( 
   isProtected : boolean
) : any;

Parameters

isProtected
Whether cells on this sheet that are marked as protected cannot be edited.
Example
This example sets the setIsProtected method.
sheet.getCell(1,1).locked(false);
sheet.setValue(1,1,"unLocked");
sheet.getColumn(3).locked(false);
sheet.getRow(5).locked(false);
sheet.setIsProtected(true);
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.