Skip to content

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Jul 16, 2025

Description

The PR moves the $connector.updateUniqueItemIdPath call from UpdateQueue#clear to Grid#setUniqueKeyProperty which is cleaner and avoids having to pass the unique key property to UpdateQueue. This change will then allow us to deprecate and remove UpdateQueueData#setUniqueKeyProperty and UpdateQueueData#getUniqueKeyProperty.

That being said, it's worth noting that the setUniqueKeyDataGenerator(propertyName, uniqueKeyProvider) feature appears to be half broken in general as it only works correctly when propertyName is "key". I've opened a corresponding issue: #7690

Part of #7688

Type of change

  • Refactor

@vursen vursen force-pushed the simplify-unique-key-property-handling branch from 305e85d to 58a8dca Compare July 16, 2025 10:39
Copy link

@vursen vursen marked this pull request as ready for review July 16, 2025 10:50
@vursen vursen merged commit 719c9b4 into main Jul 16, 2025
5 checks passed
@vursen vursen deleted the simplify-unique-key-property-handling branch July 16, 2025 13:37
@vursen vursen linked an issue Aug 22, 2025 that may be closed by this pull request
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate legacy TreeGrid APIs
2 participants