本文へ移動

@eightkk/vue-weave / core / TreeGridRowCreate

Interface: TreeGridRowCreate ​

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

A new row proposal. The parent creates the row with its own ID, under parentId (a root without it) at sibling position index (0 to the current number of siblings), for example with insertTreeGridRow.

Properties ​

index ​

index: number

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


parentId? ​

optional parentId?: string

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


placement ​

placement: "before" | "after" | "child"

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


referenceId ​

referenceId: string

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

The row the user acted on, and where the new row goes relative to it.


source ​

source: "pointer" | "keyboard"

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

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