|  | @@ -981,6 +981,18 @@ const SpreadJsObj = {
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    refreshSheetReadOnly: function (sheet) {
 | 
	
		
			
				|  |  | +        this.beginMassOperation(sheet);
 | 
	
		
			
				|  |  | +        if (sheet.zh_setting) {
 | 
	
		
			
				|  |  | +            sheet.zh_setting.cols.forEach(function (col, i) {
 | 
	
		
			
				|  |  | +                for (let iRow = 0; iRow < sheet.getRowCount(); iRow++) {
 | 
	
		
			
				|  |  | +                    sheet.getCell(iRow, i).locked(col.readOnly || sheet.zh_setting.readOnly || false);
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                //sheet.getRange(-1, i, -1, 1, GC.Spread.Sheets.SheetArea.viewport).locked(col.readOnly || sheet.zh_setting.readOnly || false);
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        this.endMassOperation(sheet);
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      /**
 | 
	
		
			
				|  |  |       * 刷新列是否只读
 | 
	
		
			
				|  |  |       * @param sheet
 |