Merged
Conversation
Stop using the method that was deprecated in 1.11.1 Closes #8929
pleku
approved these changes
Sep 3, 2020
pleku
pushed a commit
that referenced
this pull request
Sep 7, 2020
Stop using the method that was deprecated in 1.11.1 Closes #8929
pleku
pushed a commit
that referenced
this pull request
Sep 7, 2020
Stop using the method that was deprecated in 1.11.1 Closes #8929
haijian-vaadin
pushed a commit
that referenced
this pull request
Sep 7, 2020
Stop using the method that was deprecated in 1.11.1 Closes #8929
pleku
pushed a commit
that referenced
this pull request
Sep 7, 2020
Stop using the method that was deprecated in 1.11.1 Closes #8929
caalador
added a commit
that referenced
this pull request
Sep 7, 2020
Stop using the method that was deprecated in 1.11.1 Closes #8929
mshabarov
pushed a commit
that referenced
this pull request
Sep 17, 2020
Stop using the method that was deprecated in 1.11.1 Closes #8929
Artur-
added a commit
that referenced
this pull request
Mar 17, 2026
Thread old item identity through DataRefreshEvent so that KeyMapper can remap keys when an item is replaced with a new instance (different identity). This replaces the refreshAll() workaround with a targeted single-item refresh for signal-bound grid items. Fixes #8938
Artur-
added a commit
that referenced
this pull request
Mar 17, 2026
…23913) - Add a two-argument `refreshItem(T newItem, T oldItem)` overload to `DataProvider`, `DataView`, and related classes, enabling targeted refresh when an item's identity changes (e.g., signal-bound items replaced with new instances) - `DataRefreshEvent` now carries an optional old item reference via `getOldItem()`, allowing`DataCommunicator` and `KeyMapper` to remap from the old identity to the new one instead of failing to find the item - `HierarchicalDataCommunicator` throws `UnsupportedOperationException` for identity-changing refreshes, deferring TreeGrid `bindItems` support to a future change Fixes #8938
vaadin-bot
pushed a commit
that referenced
this pull request
Mar 17, 2026
…23913) - Add a two-argument `refreshItem(T newItem, T oldItem)` overload to `DataProvider`, `DataView`, and related classes, enabling targeted refresh when an item's identity changes (e.g., signal-bound items replaced with new instances) - `DataRefreshEvent` now carries an optional old item reference via `getOldItem()`, allowing`DataCommunicator` and `KeyMapper` to remap from the old identity to the new one instead of failing to find the item - `HierarchicalDataCommunicator` throws `UnsupportedOperationException` for identity-changing refreshes, deferring TreeGrid `bindItems` support to a future change Fixes #8938
Artur-
added a commit
that referenced
this pull request
Mar 18, 2026
…23913) (#23922) - Add a two-argument `refreshItem(T newItem, T oldItem)` overload to `DataProvider`, `DataView`, and related classes, enabling targeted refresh when an item's identity changes (e.g., signal-bound items replaced with new instances) - `DataRefreshEvent` now carries an optional old item reference via `getOldItem()`, allowing`DataCommunicator` and `KeyMapper` to remap from the old identity to the new one instead of failing to find the item - `HierarchicalDataCommunicator` throws `UnsupportedOperationException` for identity-changing refreshes, deferring TreeGrid `bindItems` support to a future change Fixes #8938 Co-authored-by: Artur Signell <artur@vaadin.com>
Collaborator
|
This ticket/PR has been released with Vaadin 25.1.0-rc2. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stop using the method that was deprecated in 1.11.1
Closes #8929