diff --git a/packages/nc-gui/components/smartsheet/grid/GroupBy.vue b/packages/nc-gui/components/smartsheet/grid/GroupBy.vue index 20c9215702..b76fddb217 100644 --- a/packages/nc-gui/components/smartsheet/grid/GroupBy.vue +++ b/packages/nc-gui/components/smartsheet/grid/GroupBy.vue @@ -72,7 +72,7 @@ const findAndLoadSubGroup = (key: any) => { if (grp.nested) { if (!grp.children?.length) props.loadGroups({}, grp) } else { - if (!grp.rows?.length) props.loadGroupData(grp) + if (!grp.rows?.length || grp.count !== grp.rows?.length) props.loadGroupData(grp) } } } @@ -258,7 +258,9 @@ const shouldRenderCell = (column) =>
-
{{ grp.column.title }}
+
+ {{ grp.column.title }} +
({{ $t('datatype.Count') }}: {{ grp.count }})