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
Tree Grid's client-side approach to data loading has been refactored. Instead of requesting each hierarchy level separately, it now sends a single request to the server and receives all visible data in a flat list. This resulted in several breaking changes that are explained below.
312
+
Tree Grid's client-side approach to data loading has been refactored. Instead of requesting data for each hierarchy level separately, it now sends a single request for the visible range, and the server returns the corresponding items as a flat list. This results in several breaking changes that are explained below.
313
313
314
-
The [propertyname]`pageSize` property now applies to the entire flattened hierarchy rather than each level individually as before.
314
+
The [propertyname]`pageSize` property now applies to the entire flattened hierarchy rather than to each level individually as before.
315
315
316
-
Expanded items are no longer exposed to the client side as a plain array. Instead, the web component receives each item’s depth information and uses it to display the data as a tree structure.
316
+
Expanded items are no longer exposed to the client side as a plain array. Instead, the web component receives depth information for each item and uses it to display the data as a tree structure.
317
317
318
318
As a result, the [methodname]`TreeGridElement#isLoadingExpandedRows` TestBench API has been removed. You no longer need to wait for expanded rows specifically since they are loaded in the same request with other rows.
319
319
@@ -384,10 +384,9 @@ The [classname]`TreeGridArrayUpdater` interface has also been removed. The [clas
384
384
385
385
The [classname]`HierarchicalDataCommunicator` class in Flow has been fully refactored to use a flat list structure for representing hierarchical data on the client side. Although it still extends the [classname]`DataCommunicator` class, its internal implementation has been completely redesigned to optimize hierarchy rendering and address various bugs. This caused the following breaking changes:
386
386
387
-
* The [propertyname]`arrayUpdater` parameter has been removed from all [classname]`HierarchicalDataCommunicator` constructors. It now re-renders modified items by making granular [methodname]`Update#set(int index, List items)` calls.
388
-
* The protected [methodname]`createHierarchyMapper` and [methodname]`getHierarchyMapper` methods, as well as the [classname]`HierarchyMapper`` concept itself, have been removed.
389
-
* The protected [methodname]`doUnregister` method has been removed.
390
-
* The protected [methodname]`getPassivatedKeys` method has been removed.
387
+
* Both the [classname]`HierarchicalCommunicationController` and [classname]`HierarchyMapper` concepts have been retired, and all related protected APIs in [classname]`HierarchicalDataCommunicator` have been removed, including such methods as [methodname]`createHierarchyMapper` and [methodname]`getHierarchyMapper`.
388
+
* The [propertyname]`arrayUpdater` parameter has been removed from all [classname]`HierarchicalDataCommunicator` constructors. The data communicator now re-renders modified items by making granular [methodname]`Update#set(int index, List items)` calls.
389
+
* The protected [methodname]`doUnregister` and [methodname]`getPassivatedKeys` methods have been removed.
391
390
* The protected [methodname]`setFilter` method has been removed. Use the returned consumer of the [methodname]`setDataProvider(HierarchicalDataProvider, Object)` method instead.
392
391
* The protected [methodname]`collapse(T item, boolean syncClient)` method has been removed. Use the [methodname]`collapse(T item)` method instead.
393
392
* The protected [methodname]`expand(T item, boolean syncClient)` method has been removed. Use the [methodname]`expand(T item)` method instead.
0 commit comments