(key: Key)
| 92 | }, [nodes, showSelectionCheckboxes, showDragButtons, expandedKeys]); |
| 93 | |
| 94 | let onToggle = (key: Key) => { |
| 95 | setExpandedKeys(toggleKey(expandedKeys, key, treeGridCollection)); |
| 96 | }; |
| 97 | |
| 98 | let collection = useMemo(() => { |
| 99 | return new TableCollection(treeGridCollection.tableNodes, null, context); |
nothing calls this directly
no test coverage detected