API Reference > ui-components > Tree > MutableTreeModel > getChildren getChildren Method Returns children for specific parent. getChildren(parentId: undefined | string): undefined | SparseArray<string> Parameter Type Description parentId undefined | string id of parent node. Returns - undefined | SparseArray<string> children of parent node or root nodes if undefined is passed as parent id. Defined in ui/components/src/ui-components/tree/controlled/TreeModel.ts Line 240 Last Updated: 11 June, 2024