API Reference > presentation-components > Tree > TreeWithUnifiedSelectionProps > onNodesSelected onNodesSelected onNodesSelected: undefined | (items: TreeNodeItem[], replace: boolean) => boolean Called when nodes are selected. The callback should return true to continue default handling or false otherwise. Defined in presentation/components/src/tree/WithUnifiedSelection.tsx Line 29 Last Updated: 13 June, 2024