Skip to content

DataGrid: Fix focus getting stuck on Save button when columnRenderingMode is virtual (T1326106)#33201

Merged
Alyar666 merged 7 commits intoDevExpress:26_1from
Alyar666:T1326106_26_1
Apr 9, 2026
Merged

DataGrid: Fix focus getting stuck on Save button when columnRenderingMode is virtual (T1326106)#33201
Alyar666 merged 7 commits intoDevExpress:26_1from
Alyar666:T1326106_26_1

Conversation

@Alyar666
Copy link
Copy Markdown
Contributor

@Alyar666 Alyar666 commented Apr 8, 2026

No description provided.

@Alyar666 Alyar666 self-assigned this Apr 8, 2026
Copilot AI review requested due to automatic review settings April 8, 2026 20:19
@Alyar666 Alyar666 requested a review from a team as a code owner April 8, 2026 20:19
Copy link
Copy Markdown
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

Fixes DataGrid Tab/Shift+Tab navigation in row editing mode when scrolling.columnRenderingMode = 'virtual', preventing focus from getting stuck on the Save button by skipping virtual-column scrolling when the browser should cycle through interactive elements within the current cell.

Changes:

  • Adjusted Tab key handling to conditionally perform virtual-column horizontal scrolling only when appropriate for cell-to-cell navigation.
  • Refactored virtual horizontal scrolling logic into smaller helper methods for readability.
  • Added TestCafe E2E coverage for Tab/Shift+Tab focus transitions between Save/Cancel buttons in virtual column mode.

Reviewed changes

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

File Description
packages/devextreme/js/__internal/grids/grid_core/keyboard_navigation/m_keyboard_navigation.ts Skips virtual-column scroll when Tab should move within a cell’s interactive elements; refactors scroll decision logic.
e2e/testcafe-devextreme/tests/dataGrid/common/keyboardNavigation/virtualColumns.functional.ts Adds regression tests validating Save/Cancel focus progression with Tab and Shift+Tab in row edit mode under virtual columns.

Copilot AI review requested due to automatic review settings April 8, 2026 21:58
Copy link
Copy Markdown
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 3 out of 3 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings April 9, 2026 08:12
Raushen
Raushen previously approved these changes Apr 9, 2026
Copy link
Copy Markdown
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 7 out of 7 changed files in this pull request and generated 2 comments.

@Alyar666 Alyar666 merged commit 0607458 into DevExpress:26_1 Apr 9, 2026
107 of 108 checks passed
Alyar666 added a commit to Alyar666/DevExtreme that referenced this pull request Apr 9, 2026
…Mode is virtual (T1326106) (DevExpress#33201)

Co-authored-by: Alyar <>
Alyar666 added a commit to Alyar666/DevExtreme that referenced this pull request Apr 9, 2026
…Mode is virtual (T1326106) (DevExpress#33201)

Co-authored-by: Alyar <>
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