English
@eightkk/vue-weave / core / TreeGridIndex
Interface: TreeGridIndex<R>
Defined in: src/core/treeGrid.ts:111
The validated input, built by createTreeGridIndex. Treat it as read-only.
Type Parameters
R
R extends TreeGridRow = TreeGridRow
Properties
cells
readonlycells:ReadonlyMap<string,ReadonlyMap<string,TreeGridCell>>
Defined in: src/core/treeGrid.ts:119
Sparse cells by row ID, then column ID.
childCounts
readonlychildCounts:ReadonlyMap<string,number>
Defined in: src/core/treeGrid.ts:121
Number of child rows of each row that has any.
columnIndex
readonlycolumnIndex:ReadonlyMap<string,number>
Defined in: src/core/treeGrid.ts:117
columns
readonlycolumns: readonlyTreeGridColumn<R>[]
Defined in: src/core/treeGrid.ts:113
missingCell
readonlymissingCell:TreeGridMissingCell
Defined in: src/core/treeGrid.ts:123
rootCount
readonlyrootCount:number
Defined in: src/core/treeGrid.ts:122
rowById
readonlyrowById:ReadonlyMap<string,R>
Defined in: src/core/treeGrid.ts:116
rows
readonlyrows: readonlyR[]
Defined in: src/core/treeGrid.ts:112
tree
readonlytree: readonlyobject[]
Defined in: src/core/treeGrid.ts:115
The rows in tree preorder, with their zero-based depth and the preorder index after their subtree.