API Reference > ui-components > Tree > TreeProps > onRootNodesLoaded onRootNodesLoaded MethodOptional Callback that's called when root nodes are loaded. If pagination is enabled, it's called once per every loaded page. onRootNodesLoaded(nodes: TreeNodeItem[]): void Parameter Type Description nodes TreeNodeItem[] Returns - void Defined in ui/components/src/ui-components/tree/deprecated/component/Tree.tsx Line 145 Last Updated: 12 June, 2024