API Reference > ui-components > Tree > MutableTreeModel > removeChild removeChild Method Removes children specified by id. removeChild(parentId: undefined | string, child: string | number): void Parameter Type Description parentId undefined | string id of the parent node. child string | number child node id or index that should be removed. Returns - void Defined in ui/components/src/ui-components/tree/controlled/TreeModel.ts Line 388 Last Updated: 12 June, 2024