Skip to content

@eightkk/vue-weave / core / TreeGridTextOptions

Interface: TreeGridTextOptions<R> ​

Defined in: src/core/treeGrid.ts:1181

Options of treeGridCellText: the same formatValue and labels as the TreeGrid props.

Extended by ​

Type Parameters ​

R ​

R extends TreeGridRow = TreeGridRow

Properties ​

formatValue? ​

optional formatValue?: (value, context) => string

Defined in: src/core/treeGrid.ts:1182

Parameters ​

value ​

TreeGridValue

context ​
column ​

TreeGridColumn<R>

row ​

R

Returns ​

string


labels? ​

optional labels?: 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.

Released under the MIT License.