Skip to content

GridCore: make expand column header rowspan equal to header rows count (T1317623)#32816

Merged
anna-shakhova merged 2 commits intoDevExpress:26_1from
anna-shakhova:26_1__T1317623_multirow_expand_header
Mar 11, 2026
Merged

GridCore: make expand column header rowspan equal to header rows count (T1317623)#32816
anna-shakhova merged 2 commits intoDevExpress:26_1from
anna-shakhova:26_1__T1317623_multirow_expand_header

Conversation

@anna-shakhova
Copy link
Contributor

No description provided.

@anna-shakhova anna-shakhova self-assigned this Mar 6, 2026
@anna-shakhova anna-shakhova requested a review from a team as a code owner March 6, 2026 09:27
Copilot AI review requested due to automatic review settings March 6, 2026 09:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates GridCore’s header column layout so the expand (command) column header uses a rowspan equal to the total header row count, fixing banded header rendering inconsistencies (T1317623).

Changes:

  • Adjusted visible-column compilation to insert expand columns only in the first header row and apply rowspan = headerRowCount.
  • Centralized the GridCore Column type in columns_controller/types.ts and updated internal imports accordingly.
  • Replaced/relocated coverage: removed outdated QUnit cases and added Jest tests for the updated expand-column header behavior.

Reviewed changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/devextreme/testing/tests/DevExpress.ui.widgets.dataGrid/columnsController.tests.js Removes QUnit tests whose expectations no longer match the corrected expand-column header layout.
packages/devextreme/js/__internal/grids/grid_core/views/utils.ts Switches to the shared Column type from columns_controller/types.
packages/devextreme/js/__internal/grids/grid_core/views/m_columns_view.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/selection/m_selection.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/search/m_search.ts Updates Column type import and removes no-longer-needed eslint suppression.
packages/devextreme/js/__internal/grids/grid_core/m_utils.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/keyboard_navigation/m_keyboard_navigation.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/keyboard_navigation/m_headers_keyboard_navigation.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/keyboard_navigation/m_column_keyboard_navigation_core.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/editing/types.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/columns_controller/types.ts Introduces/extends a shared internal Column interface (incl. rowspan/colspan) and consolidates imports.
packages/devextreme/js/__internal/grids/grid_core/columns_controller/m_columns_controller_utils.ts Refactors processExpandColumns to accept a target rowspan and splice expand columns deterministically.
packages/devextreme/js/__internal/grids/grid_core/columns_controller/m_columns_controller.ts Changes header visible-columns generation: expand columns are placed only in the first header row with rowspan = rowCount.
packages/devextreme/js/__internal/grids/grid_core/columns_controller/m_columns_controller.test.ts Adds Jest coverage for expand-column placement and header rowspan in band/grouped layouts.
packages/devextreme/js/__internal/grids/grid_core/column_headers/m_column_headers.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/ai_column/views/m_ai_prompt_editor_view.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/ai_column/views/m_ai_prompt_editor_view.test.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/ai_column/views/m_ai_column_view.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/ai_column/utils.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/ai_column/utils.test.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/ai_column/controllers/m_ai_prompt_editor_view_controller.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/ai_column/controllers/m_ai_column_controller.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/adaptivity/utils.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/grid_core/adaptivity/m_adaptivity.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/data_grid/summary/utils.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/data_grid/keyboard_navigation/m_headers_keyboard_navigation.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/data_grid/keyboard_navigation/m_group_panel_keyboard_navigation.ts Updates Column type import to the shared types module.
packages/devextreme/js/__internal/grids/data_grid/keyboard_navigation/m_column_keyboard_navigation_mixin.ts Updates Column type import to the shared types module.

@anna-shakhova anna-shakhova force-pushed the 26_1__T1317623_multirow_expand_header branch from 0f89788 to cf669c4 Compare March 6, 2026 10:16
Copilot AI review requested due to automatic review settings March 6, 2026 10:56
@anna-shakhova anna-shakhova force-pushed the 26_1__T1317623_multirow_expand_header branch from cf669c4 to 94da4db Compare March 6, 2026 10:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 30 out of 30 changed files in this pull request and generated 1 comment.

@anna-shakhova anna-shakhova force-pushed the 26_1__T1317623_multirow_expand_header branch from 94da4db to 265b0c5 Compare March 6, 2026 11:07
@Alyar666 Alyar666 self-requested a review March 10, 2026 01:27
Copy link
Contributor

@Alyar666 Alyar666 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a missing border in RTL mode:

Image

@anna-shakhova anna-shakhova merged commit 97cdc3e into DevExpress:26_1 Mar 11, 2026
102 checks passed
@anna-shakhova anna-shakhova deleted the 26_1__T1317623_multirow_expand_header branch March 11, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants