API reference: @salmonui/data-grid
DataGridTreeRowInfointerface
import type { DataGridTreeRowInfo } from '@salmonui/data-grid';interface DataGridTreeRowInfo {
readonly rowId: RowId;
readonly depth: number;
readonly parentId: RowId | null;
readonly hasChildren: boolean;
readonly childCount: number;
readonly expanded: boolean;
readonly loadStatus: DataGridTreeLoadStatus;
readonly posinset: number;
readonly setsize: number;
readonly context: boolean;
readonly visible: boolean;
}
Row info of api.getTreeRow(rowId).
| Name | Signature | Description |
|---|---|---|
rowId | readonly rowId: RowId; | |
depth | readonly depth: number; | |
parentId | readonly parentId: RowId | null; | |
hasChildren | readonly hasChildren: boolean; | |
childCount | readonly childCount: number; | |
expanded | readonly expanded: boolean; | |
loadStatus | readonly loadStatus: DataGridTreeLoadStatus; | |
posinset | readonly posinset: number; | 1-based ordinal and count among the kept siblings ( |
setsize | readonly setsize: number; | |
context | readonly context: boolean; | Kept only as an ancestor or descendant of a filter match. |
visible | readonly visible: boolean; |