setChildren Method
Sets children for parent node starting from the specific offset. If offset overlaps with already added nodes, the overlapping nodes are overwritten.
setChildren(parentId: string | undefined, nodeInputs: TreeModelNodeInput[], offset: number): void
| Parameter | Type | Description |
|---|---|---|
| parentId | string | undefined | |
| nodeInputs | TreeModelNodeInput[] | |
| offset | number |
Defined in
Last Updated: 08 January, 2020