From 03855a935e36eb58298ef52f9feb0d90335e4c87 Mon Sep 17 00:00:00 2001 From: Flavien DELANGLE Date: Mon, 20 Jun 2022 15:26:24 +0200 Subject: [PATCH] [data grid] Fix detail panel on DataGridPremium (#5264) --- .../src/DataGridPremium/useDataGridPremiumComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grid/x-data-grid-premium/src/DataGridPremium/useDataGridPremiumComponent.tsx b/packages/grid/x-data-grid-premium/src/DataGridPremium/useDataGridPremiumComponent.tsx index 08fe185544f9..342d7ba745e3 100644 --- a/packages/grid/x-data-grid-premium/src/DataGridPremium/useDataGridPremiumComponent.tsx +++ b/packages/grid/x-data-grid-premium/src/DataGridPremium/useDataGridPremiumComponent.tsx @@ -118,11 +118,11 @@ export const useDataGridPremiumComponent = ( useGridTreeData(apiRef); useGridKeyboardNavigation(apiRef, props); useGridSelection(apiRef, props); - useGridDetailPanel(apiRef, props); useGridColumnPinning(apiRef, props); useGridColumns(apiRef, props); useGridRows(apiRef, props); useGridParamsApi(apiRef); + useGridDetailPanel(apiRef, props); useGridColumnSpanning(apiRef); const useGridEditing = props.experimentalFeatures?.newEditingApi