Skip to content

Conversation

@Raushen
Copy link
Contributor

@Raushen Raushen commented Jan 23, 2026

No description provided.

@Raushen Raushen self-assigned this Jan 23, 2026
@Raushen Raushen requested a review from a team as a code owner January 23, 2026 13:46
Copilot AI review requested due to automatic review settings January 23, 2026 13:46
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

This PR adds a comprehensive integration test to verify the fix for T1308327, which addresses an issue where DataGrid cell values were not properly restored after canceling changes in cell editing mode when repaintChangesOnly is enabled. The test ensures that validation states are correctly reset along with the cell values.

Changes:

  • Added new integration test for validating cell value restoration after cancel with validation errors
  • Extended test model infrastructure to support interaction with revert buttons and cell editors
  • Verified the fix works for multiple consecutive cell edits and cancellations

Reviewed changes

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

File Description
packages/devextreme/js/__internal/grids/grid_core/validating/tests/validating.integration.test.ts New integration test file verifying cell value restoration when canceling edits with validation errors in repaintChangesOnly mode
packages/devextreme/js/__internal/grids/grid_core/tests/mock/model/grid_core.ts Added getRevertButton() helper method to enable test interaction with validation revert buttons
packages/devextreme/js/__internal/grids/grid_core/tests/mock/model/cell/data_cell.ts Added getEditor() helper method to retrieve and interact with cell editors in tests

…he revert button get access to initial values via _getOldData()
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