Skip to content

Commit bdfae80

Browse files
authored
refactor(AnalyticalTable): improve subcomponents behavior (#4828)
1 parent 251e83f commit bdfae80

File tree

1 file changed

+1
-1
lines changed
  • packages/main/src/components/AnalyticalTable

1 file changed

+1
-1
lines changed

packages/main/src/components/AnalyticalTable/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ const AnalyticalTable = forwardRef<AnalyticalTableDomRef, AnalyticalTablePropTyp
666666
stateReducer,
667667
disableFilters: !filterable,
668668
disableSortBy: !sortable,
669-
disableGroupBy: isTreeTable || renderRowSubComponent ? true : !groupable,
669+
disableGroupBy: isTreeTable || (!alwaysShowSubComponent && renderRowSubComponent) ? true : !groupable,
670670
selectSubRows: false,
671671
sortTypes: sortTypesFallback,
672672
webComponentsReactProperties: {

0 commit comments

Comments
 (0)