API Reference > ui-components > Tree > TreeModelSource > modifyModel modifyModel Method Modifies tree model using provided callback. If changes to tree model is detected then onModelChanged event is emitted. modifyModel(callback: (model: MutableTreeModel) => void): void Parameter Type Description callback (model: MutableTreeModel) => void Returns - void Defined in ui/components/src/ui-components/tree/controlled/TreeModelSource.ts Line 42 Last Updated: 12 June, 2024