Skip to content

DataGrid/TreeList - ColumnChooser - Use new TreeView api instead custom logic in ColumnChooser to restore disabled items selection#32768

Open
Raushen wants to merge 3 commits intoDevExpress:26_1from
Raushen:ColumnChooser-API-refactoring
Open

DataGrid/TreeList - ColumnChooser - Use new TreeView api instead custom logic in ColumnChooser to restore disabled items selection#32768
Raushen wants to merge 3 commits intoDevExpress:26_1from
Raushen:ColumnChooser-API-refactoring

Conversation

@Raushen
Copy link
Contributor

@Raushen Raushen commented Mar 3, 2026

No description provided.

@Raushen Raushen self-assigned this Mar 3, 2026
Copilot AI review requested due to automatic review settings March 3, 2026 13:13
@Raushen Raushen requested a review from a team as a code owner March 3, 2026 13:13
@Raushen Raushen added the 26_1 label Mar 3, 2026
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 DataGrid/TreeList ColumnChooser selection behavior to rely on TreeView’s newer disabled-node selection API instead of custom re-selection logic, and aligns integration tests with the updated selection state.

Changes:

  • Removed custom TreeView selection “repair” logic for allowHiding === false nodes on selection changes.
  • Configured TreeView with disabledNodeSelectionMode: 'never' in select mode.
  • Updated an integration test assertion for band-column selection state.

Reviewed changes

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

File Description
packages/devextreme/testing/tests/DevExpress.ui.widgets.dataGrid/columnChooser.integration.tests.js Adjusts assertion/comment to match new band-column selected state produced by TreeView selection logic.
packages/devextreme/js/__internal/grids/grid_core/column_chooser/m_column_chooser.ts Removes manual disabled-node re-selection and relies on TreeView disabledNodeSelectionMode instead.

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.

2 participants