From 74b628658fff3520ae54e74113f51b64e8df694f Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Wed, 3 Dec 2025 15:59:01 -0500 Subject: [PATCH] feat(RHINENG-22169): Add enableDragDrop option for columnManager This PR adds the enableDragDrop property for the ColumnManagementModal. I tried to test this prop in a storybook, but it did work. I'm wanting to get this option here and then test it against inventory by passing the option. --- src/hooks/useColumnManager/useColumnManager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hooks/useColumnManager/useColumnManager.js b/src/hooks/useColumnManager/useColumnManager.js index 28c44c9..bd6a8f6 100644 --- a/src/hooks/useColumnManager/useColumnManager.js +++ b/src/hooks/useColumnManager/useColumnManager.js @@ -27,6 +27,7 @@ const useColumnManager = (options = {}) => { columns, manageColumns: enableColumnManager, manageColumnLabel = 'Manage columns', + enableDragDrop, } = options; const [selectedColumns, setSelectedColumns] = useState( @@ -77,6 +78,7 @@ const useColumnManager = (options = {}) => { isOpen: isManagerOpen, onClose, applyColumns: applyColumns, + enableDragDrop, }, } : { columns };