SheetProtectProperties
엑셀 시트 보호를 적용시 허용할 속성을 지정한다.
Signature:
export interface SheetProtectProperties Remarks
허용하는 경우 "0" 허용하지 않는 경우 "1"을 입력한다.
속성을 지정하지 않으면 엑셀 기본값으로 설정된다.
셀의 잠금/서식숨기기 속성은 DataColumn.cellProtectProps또는 ColumnStyleObject.cellProtectProps를 이용한다.
Example
gridView.exportGrid({
type: "excel",
target: "local",
sheetProtect: true;
protectProperties: {
selectLockedCells: "0",
selectUnlockedCells: "0"
},
protectPassword: "12345678";
})Properties
| Property | Type | Description |
|---|---|---|
| autoFilter | string | 자동 필터 사용 |
| deleteColumns | string | 열 삭제 |
| deleteRows | string | 행 삭제 |
| formatCells | string | 셀 서식 |
| formatColumns | string | 열 서식 |
| formatRows | string | 행 서식 |
| insertColumns | string | 열 삽입 |
| insertHyperlinks | string | 하이퍼링크 삽입 |
| insertRows | string | 행 삽입 |
| objects | string | 객체 편집 |
| pivotTables | string | 피벗 테이블 보고서 사용 |
| scenarios | string | 시나리오 편집 |
| selectLockedCells | string | 잠긴 셀 선택 |
| selectUnlockedCells | string | 잠기지 않은 셀 선택 |
| sort | string | 정렬 |
Properties Desc
autoFilter
자동 필터 사용
Type - string
deleteColumns
열 삭제
Type - string
deleteRows
행 삭제
Type - string
formatCells
셀 서식
Type - string
formatColumns
열 서식
Type - string
formatRows
행 서식
Type - string
insertColumns
열 삽입
Type - string
insertHyperlinks
하이퍼링크 삽입
Type - string
insertRows
행 삽입
Type - string
objects
객체 편집
Type - string
pivotTables
피벗 테이블 보고서 사용
Type - string
scenarios
시나리오 편집
Type - string
selectLockedCells
잠긴 셀 선택
Type - string
selectUnlockedCells
잠기지 않은 셀 선택
Type - string
sort
정렬
Type - string