[]
The following table lists the gc-worksheet elements:
Attribute | SpreadJS API | Type | Comment |
---|---|---|---|
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 |
| An array that contains row outline information, such as [{index: 1, count: 10}]. | |
columnOutlineInfo |
| An array that contains row outline information, such as [{index: 1, count: 10}]. |
The following code sample uses the worksheet element.
@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
}
}
The worksheet element has the following child element:
Child Element | SpreadJS API | Count |
---|---|---|
gc-column |
|