本文へ移動

@eightkk/vue-weave / core / treeGridCellText

Function: treeGridCellText() ​

treeGridCellText<R>(index, rowId, columnId, options?): string

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

The text that the default rendering of TreeGrid shows in a cell with a value: its label, else formatValue, else labels.yes or labels.no for a boolean in a column without an editor format, else the editor's format, else the value as text. Cells without a value (empty, none, unknown and the other statuses) give ''. Throws like resolveTreeGridCell for an unknown row or column.

Type Parameters ​

R ​

R extends TreeGridRow<unknown>

Parameters ​

index ​

TreeGridIndex<R>

rowId ​

string

columnId ​

string

options? ​

TreeGridTextOptions<R> = {}

Returns ​

string

MIT ライセンスで公開しています。