English
@eightkk/vue-weave / core / TreeGridViewInput
Interface: TreeGridViewInput<R>
Defined in: src/core/treeGrid.ts:1220
The input of projectTreeGridRows: a TreeGrid input with optional compare rules and the cell text options.
Extends
Type Parameters
R
R extends TreeGridRow = TreeGridRow
Properties
cells?
optionalcells?: readonlyTreeGridCell[]
Defined in: src/core/treeGrid.ts:105
Inherited from
columns
columns: readonly
TreeGridColumn<R>[]
Defined in: src/core/treeGrid.ts:104
Inherited from
formatValue?
optionalformatValue?: (value,context) =>string
Defined in: src/core/treeGrid.ts:1182
Parameters
value
context
column
row
R
Returns
string
Inherited from
TreeGridTextOptions.formatValue
labels?
optionallabels?:Partial<Pick<TreeGridLabels,"yes"|"no">>
Defined in: src/core/treeGrid.ts:1184
The words of booleans in columns without an editor format. Default treeGridDefaultLabels.yes and no.
Inherited from
missingCell?
optionalmissingCell?:TreeGridMissingCell
Defined in: src/core/treeGrid.ts:107
What a missing cell means. Default empty.
Inherited from
rows
rows: readonly
R[]
Defined in: src/core/treeGrid.ts:103
Inherited from
sortRules?
optionalsortRules?:Readonly<Record<string,TimelineRowCompare<R>>>
Defined in: src/core/treeGrid.ts:1222
Registered compare rules by ID; a sort rule with such an ID uses it instead of a column.