Skip to content

GridCore - Remove 'rowDragging.filter' option from d.ts and 'useKeyboard' from deprecated options - #35277

Merged
Tucchhaa merged 4 commits into
DevExpress:mainfrom
Tucchhaa:remove_rowdragging_filter_26_2
Sep 23, 2026
Merged

Tucchhaa merged 4 commits into
DevExpress:mainfrom
Tucchhaa:remove_rowdragging_filter_26_2

Conversation

@Tucchhaa

Copy link
Copy Markdown
Contributor
  1. rowDragging.filter was defined in grids.d.ts, but was never explicitly used in DataGrid/TreeList, it defined only to allow propagation of this option to Sortable component. Howevewr, for DataGrid/TreeList this option doesn't have much sense, so it was marked deprecated before and removed.

  2. useKeyboard option was removed long time ago, however there was leftover in deprecatedOptions, which is removed by this PR

@Tucchhaa
Tucchhaa requested a review from a team as a code owner September 21, 2026 14:00
Copilot AI lite review requested due to automatic review settings September 21, 2026 14:00
@Tucchhaa Tucchhaa self-assigned this Sep 21, 2026
@Tucchhaa Tucchhaa added the 26_2 label Sep 21, 2026
@github-actions github-actions Bot added the .d.ts label Sep 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The existing focus.integration.tests.js test still asserts the removed useKeyboard mapping and will fail until updated.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Removes obsolete rowDragging.filter declarations and the stale DataGrid useKeyboard deprecated-option mapping.

Changes:

  • Removes rowDragging.filter from core and framework bindings.
  • Removes the obsolete useKeyboard mapping.
  • Updates are still required for the existing QUnit test referencing useKeyboard.
File Reviewed change
packages/​devextreme/​ts/​dx.all.d.ts Updated aggregate declarations.
packages/​devextreme/​js/​common/​grids.d.ts Removed grid filter typing.
packages/​devextreme/​js/​__internal/​grids/​data_grid/​m_widget_base.ts Removed the stale deprecation mapping.
packages/​devextreme-vue/​src/​tree-list.ts Updated Vue TreeList bindings.
packages/​devextreme-vue/​src/​data-grid.ts Updated Vue DataGrid bindings.
packages/​devextreme-react/​src/​tree-list.ts Updated React TreeList typings.
packages/​devextreme-react/​src/​data-grid.ts Updated React DataGrid typings.
packages/​devextreme-angular/​src/​ui/​tree-list/​nested/​row-dragging.ts Removed the Angular filter input.
packages/​devextreme-angular/​src/​ui/​tree-list/​index.ts Updated TreeList typings.
packages/​devextreme-angular/​src/​ui/​nested/​row-dragging.ts Removed the shared filter input.
packages/​devextreme-angular/​src/​ui/​data-grid/​nested/​row-dragging.ts Removed the Angular filter input.
packages/​devextreme-angular/​src/​ui/​data-grid/​index.ts Updated DataGrid typings.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/devextreme/js/__internal/grids/data_grid/m_widget_base.ts
Copilot AI review requested due to automatic review settings September 21, 2026 15:47
assert.ok($(dataGrid.getRowElement(0)).find('.dx-editor-cell').eq(0).hasClass('dx-focused'), 'first editable cell is active');
});

QUnit.test('Test mutual influence of the useKeyboard and keyboardNavigation.enabled options', function(assert) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The obsolete APIs and metadata were removed consistently across declarations, wrappers, and tests.

Review effort: Lite
Findings: 1 High severity

Open (1)

@bit-byte0

Copy link
Copy Markdown
Contributor

testing/tests/DevExpress.ui.widgets.dataGrid/focus.tests.js:5334: The test title still says "if useKeyboard set false", but the body configures keyboardNavigation.enabled: false. Now that useKeyboard is gone, should we rename the title to match?

Copilot AI review requested due to automatic review settings September 23, 2026 09:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🔵 Needs a closer look

Update the remaining test that passes the removed useKeyboard option so it explicitly configures keyboard navigation.

Review effort: Lite
Findings: None

Resolved since last review (1)

@Tucchhaa
Tucchhaa enabled auto-merge September 23, 2026 09:32
@Tucchhaa
Tucchhaa added this pull request to the merge queue Sep 23, 2026
Merged via the queue into DevExpress:main with commit b80c131 Sep 23, 2026
210 of 215 checks passed
@Tucchhaa
Tucchhaa deleted the remove_rowdragging_filter_26_2 branch September 23, 2026 10:52
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