API reference: @salmonui/data-grid/engine/tree
TreeRangesinterface
import type { TreeRanges } from '@salmonui/data-grid/engine/tree';interface TreeRanges {
readonly starts: Int32Array;
readonly ends: Int32Array;
readonly prefix: Int32Array;
readonly total: number;
readonly footerAt: Int32Array;
readonly footerOwner: Int32Array;
}
Visible slot ranges of a layout (grid-free).
| Name | Signature | Description |
|---|---|---|
starts | readonly starts: Int32Array; | Range starts and ends (slots, |
ends | readonly ends: Int32Array; | |
prefix | readonly prefix: Int32Array; |
|
total | readonly total: number; | Visible data rows. |
footerAt | readonly footerAt: Int32Array; | Child summary rows: data rows before footer j (ascending; ties keep inner parents first). |
footerOwner | readonly footerOwner: Int32Array; | Child summary rows: source index of the parent of footer j. |