You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/upgrading/index.adoc
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -351,7 +351,8 @@ The [classname]`GridArrayUpdater.UpdateQueueData` class has been removed, along
351
351
* The [methodname]`setUpdateQueueData` method in [classname]`GridArrayUpdater` has been removed
352
352
* The [methodname]`getUpdateQueueData` method in [classname]`GridArrayUpdater` has been removed
353
353
* Parameters that included [classname]`UpdateQueueData` in their type have been removed from all [classname]`Grid` and [classname]`TreeGrid` constructors and methods:
354
-
354
+
+
355
+
--
355
356
[source,java,role="before"]
356
357
----
357
358
protected <U extends GridArrayUpdater, B extends DataCommunicatorBuilder<T, U>> Grid(
The [classname]`TreeGridArrayUpdater` interface has also been removed. The [classname]`GridArrayUpdater` interface now handles both hierarchical and non-hierarchical updates.
380
384
@@ -389,9 +393,9 @@ The [classname]`HierarchicalDataCommunicator` class in Flow has been fully refac
389
393
* The protected [methodname]`expand(T item, boolean syncClient)` method has been removed. Use the [methodname]`expand(T item)` method instead.
390
394
* The public [methodname]`setRequestedRange` and [methodname]`setParentRequestedRange` methods have been merged into a single method [methodname]`setViewportRange(int start, int length)`. Instead of setting ranges separately for each level, this method sets a single range that operates on the flat list of items from all levels.
391
395
* The public [methodname]`confirmUpdate(int id, String parentKey)` method has been removed. The [methodname]`confirmUpdate(int id)` method is now called instead.
392
-
* The public [methodname]`getParentItem(T item)` method has been removed because it returned inconsistent results. Use the [classname]`HierarchicalDataProvider#getParent` method instead to get an item's parent reliably.
396
+
* The public [methodname]`getParentItem(T item)` method has been removed because it didn't handle all cases correctly. Use the [classname]`HierarchicalDataProvider#getParent` method instead to get an item's parent reliably.
393
397
* The public [methodname]`getIndex(T item)` and [methodname]`getParentIndex(T item)` methods have been removed for the same reason. To find an item's index reliably, use a combination of the [classname]`HierarchicalDataProvider#getItemIndex`, [classname]`HierarchicalDataProvider#getParent`, [classname]`HierarchicalDataCommunicator#buildQuery` methods as shown in the example below:
0 commit comments