API reference: @salmonui/data-grid/engine
ChildGridDescriptorinterface
import type { ChildGridDescriptor } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/hierarchy.
interface ChildGridDescriptor<Child = unknown> {
readonly id: string;
readonly parentRowId: RowId;
readonly depth: number;
readonly relation: ChildRelation;
readonly filter: FilterDescriptor;
readonly dataSource: DataSource<Child>;
readonly options: DataGridOptions<Child>;
}
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; |
|
parentRowId | readonly parentRowId: RowId; | |
depth | readonly depth: number; | Depth of the child grid (1 for children of the root). |
relation | readonly relation: ChildRelation; | |
filter | readonly filter: FilterDescriptor; | The relation condition the scoped source applies. |
dataSource | readonly dataSource: DataSource<Child>; | |
options | readonly options: DataGridOptions<Child>; | Complete options for the child engine, without modules. |