[]
다음 표는 gc-worksheet 요소들을 나열한 것입니다.
속성 | SpreadJS API | 타입 | 코멘트 |
---|---|---|---|
dataSource |
|
| |
name |
|
| |
frozenColumnCount |
|
| |
frozenRowCount |
|
| |
frozenTrailingColumnCount |
|
| |
frozenTrailingRowCount |
|
| |
allowCellOverflow |
|
| |
frozenlineColor |
|
| |
sheetTabColor |
|
| |
rowCount |
|
| |
colCount |
|
| |
selectionPolicy |
|
| |
selectionUnit |
|
| |
zoom |
|
| |
currentTheme |
|
| |
clipBoardOptions |
|
| |
rowHeaderVisible |
|
| |
columnHeaderVisible |
|
| |
rowHeaderAutoText |
|
| |
columnHeaderAutoText |
|
| |
rowHeaderAutoTextIndex |
|
| |
columnHeaderAutoTextIndex |
|
| |
isProtected |
|
| |
showRowOutline |
|
| |
showColumnOutline |
|
| |
selectionBackColor |
|
| |
selectionBorderColor |
|
| |
defaultStyle |
|
| |
rowOutlineInfo |
| 행 아웃라인 정보를 포함하는 배열이며, 예를 들어 [{index: 1, count: 10}]과 같습니다. | |
columnOutlineInfo |
| 열 아웃라인 정보를 포함하는 배열이며, 예를 들어 [{index: 1, count: 10}]과 같습니다. |
다음 코드 예제는 worksheet 요소를 사용하는 방법을 보여줍니다.
@Component({
selector: 'my-app',
template: `<gc-spread-sheets>
<gc-worksheet [name]="sheetName" [rowOutlineInfo]="rowOutlineInfo">
</gc-worksheet>
</gc-spread-sheets>`,
})
export class AppComponent {
sheetName: "SheetName";
rowOutlineInfo = {
index: 1,
count: 3
}
}
worksheet 요소는 다음과 같은 자식 요소를 가집니다:
자식 요소 | SpreadJS API | 개수 |
---|---|---|
gc-column |
|