API Reference > presentation-components > Tree > UnifiedSelectionTreeEventHandler > createKeysForSelection createKeysForSelection MethodProtected Returns node keys that should be added, removed or used to replace unified selection. Default implementation returns keys of supplied nodes. createKeysForSelection(nodes: TreeNodeItem[], _selectionType: SelectionChangeType): Keys Parameter Type Description nodes TreeNodeItem[] _selectionType SelectionChangeType Returns - Keys Defined in presentation/components/src/presentation-components/tree/controlled/UseUnifiedSelection.ts Line 173 Last Updated: 12 June, 2024