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