var sheet = spread.getActiveSheet();
var option = {
allowFilter: false,
allowSort: false,
allowResizeRows: false,
allowResizeColumns: false,
allowEditObjects: false
};
sheet.options.protectionOptions = option;
sheet.options.isProtected = true;
或者是
var sheet = spread.getActiveSheet();
sheet.options.isProtected = true;
sheet.options.isProtected;
加到JS(页面用的是JSP)中不起作用!
描述:在上个环节通过模版生成了ssjson文件,下个环节只要查看,不让它编辑,在线等!!!!谢谢!1
|
|