Repository navigation
T1338898 - DataGrid — Sticky group cell overlaps aligned group summary values when columnFixing.enabled is true - #36731
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
In RTL grids with multiple group levels and aligned summaries, the sticky offset lacks the needed left inset, causing unpinned group labels to scroll out of view.
1 open issue
What changed in this PR
Addresses DataGrid group cells covering aligned summaries during horizontal scrolling when column fixing is enabled without fixed data columns.
Changes:
- Unpins eligible group cells while keeping their text sticky, including RTL positioning.
- Extends padding and overflow styles across four themes.
- Adds Jest regression tests and Playwright screenshot coverage.
| File | Description |
|---|---|
| packages/devextreme/js/__internal/grids/grid_core/sticky_columns/sticky_columns.ts | Adds conditional unpinning and text offsets. |
| packages/devextreme/js/__internal/grids/grid_core/sticky_columns/dom.ts | Adds sticky-class removal helper. |
| packages/devextreme/js/__internal/grids/grid_core/sticky_columns/__tests__/group_summary.integration.test.ts | Tests group-cell pinning and text positioning. |
| packages/devextreme/js/__internal/grids/grid_core/__tests__/__mock__/model/row/group_row.ts | Adds group-cell test accessor. |
| packages/devextreme-scss/scss/widgets/material/dataGrid/layout/cell.scss | Styles unpinned Material group cells. |
| packages/devextreme-scss/scss/widgets/generic/dataGrid/layout/cell.scss | Styles unpinned Generic group cells. |
| packages/devextreme-scss/scss/widgets/fluent/dataGrid/layout/cell.scss | Styles unpinned Fluent group cells. |
| packages/devextreme-scss/scss/widgets/fluent-next/dataGrid/layout/cell.scss | Styles unpinned Fluent Next group cells. |
| e2e/playwright/tests/dataGrid/sticky/common/withGrouping.spec.ts | Adds LTR and RTL scrolling screenshots. |
Review effort: Balanced
| const styleProps = normalizeOffset(offset); | ||
| const startOffset = visibleColumns | ||
| .slice(0, columnIndex) | ||
| .reduce((sum, { fixed }, index) => (fixed ? sum + visibleWidths[index] : sum), 0); |
67675b1 to
03a9fdf
Compare
There was a problem hiding this comment.
🟡 Changes recommended
Group cells can remain incorrectly pinned when sticky columns are disabled by virtual rendering, and collapsed groups can produce invalid NaNpx offsets when column widths are unavailable.
2 open issues
Review effort: Balanced
| ); | ||
| const hasFixedDataColumn = columns | ||
| .slice(groupCellStartIndex, columns.length - alignByColumnCellCount) | ||
| .some((column) => !column.command && Boolean(column.fixed)); |
03a9fdf to
d93851d
Compare
There was a problem hiding this comment.
🔵 Needs a closer look
The fixed-column check incorrectly counts sticky columns disabled by virtual rendering, causing unfixed group rows to retain opaque backgrounds and cover aligned summaries during scrolling.
2 open issues
Review effort: Balanced

What
DataGrid group rows keep aligned group summaries visible on horizontal scroll when
columnFixingis enabled and no data column is fixedHow
In this case the pinned group cell gets a transparent background (
background-clip: text), so summaries show through it. Group text keeps its own background and stays pinned