Skip to content

Conversation

@Alyar666
Copy link
Contributor

No description provided.

@Alyar666 Alyar666 force-pushed the T1292991_25_2 branch 2 times, most recently from c438faa to f7f9f90 Compare August 28, 2025 23:13
@Alyar666 Alyar666 changed the title Fix T1292991 DataGrid: Fix updating of the focused row index after a row update when the repaintChangesOnly option is enabled (T1292991) Aug 28, 2025
@Alyar666 Alyar666 self-assigned this Aug 28, 2025
@Alyar666 Alyar666 added the 25_2 label Aug 28, 2025
@Alyar666 Alyar666 marked this pull request as ready for review August 28, 2025 23:22
@Alyar666 Alyar666 requested a review from a team as a code owner August 28, 2025 23:22
}));

// T1292991
test('Focused row index should be updated after updating a row when repaintChangesOnly is enabled', async (t) => {
Copy link
Contributor

@Tucchhaa Tucchhaa Sep 2, 2025

Choose a reason for hiding this comment

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

Suggestion: since the fix was quite complex with taking into account previous tickets and refactoring, can we add matrix tests that will cover the issue more widely? I think this will help us to reduce chances of receiving again similar issues from customers.

Like: one loop for repaintChangesOnly: [true, false] and another loop for changeType: ['insert', 'remove', 'update']. And in the test we check that focusedRowKey and focusedRowIndex are correct and that focusedRowChanged, focusedRowChanging events are called.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also I suggest to rewrite the test to jest, because this test is fully functional

@Alyar666 Alyar666 merged commit 9531231 into DevExpress:25_2 Sep 4, 2025
435 of 437 checks passed
Alyar666 added a commit to Alyar666/DevExtreme that referenced this pull request Sep 4, 2025
…en the repaintChangesOnly option is enabled (T1292991) (DevExpress#30754)

Co-authored-by: Alyar <>
Alyar666 added a commit to Alyar666/DevExtreme that referenced this pull request Sep 4, 2025
…en the repaintChangesOnly option is enabled (T1292991) (DevExpress#30754)

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.

2 participants