Skip to content

@eightkk/vue-weave / core / treeGridRowCreate

Function: treeGridRowCreate() ​

treeGridRowCreate(rows, referenceId, placement, source?): TreeGridRowCreate

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

The TreeGridRowCreate for a new row next to referenceId: right before or after it among its siblings, or as its last child. Throws an Error for an unknown row.

Parameters ​

rows ​

readonly TreeGridRow<unknown>[]

referenceId ​

string

placement ​

"before" | "after" | "child"

source? ​

"pointer" | "keyboard" = 'keyboard'

Returns ​

TreeGridRowCreate

Released under the MIT License.