Skip to content

@eightkk/vue-weave / core / findTreeGridLine

Function: findTreeGridLine() ​

findTreeGridLine(index, flat, position): { exact: boolean; line: number; } | undefined

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

The line of a position, or of its nearest displayed ancestor when it is hidden (a status line counts its row as the parent). exact says whether the position itself is displayed. Undefined for an unknown row or an empty grid.

Parameters ​

index ​

TreeGridIndex<any>

flat ​

TreeGridLines<any>

position ​

TreeGridPosition

Returns ​

{ exact: boolean; line: number; } | undefined

Released under the MIT License.