Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescription
-
Deprecated MethodsMethodDescriptionsince 24.9 and will be removed in Vaadin 26. Use
DataCommunicator.computeViewportRange(int, int)instead.since 24.9 and will be removed in Vaadin 26. UseDataCommunicator.setViewportRange(int, int)instead.This method will change its behavior in Vaadin 26. It will create aTreeDataProviderwithHierarchicalDataProvider.HierarchyFormat.FLATTENED, which may affect TreeGrid methods whose behavior depends on the hierarchy format, such asscrollToIndex. To preserve the current behavior, create aTreeDataProvidermanually withHierarchicalDataProvider.HierarchyFormat.NESTEDand set it viaHasHierarchicalDataProvider.setDataProvider(HierarchicalDataProvider)instead of using this shorthand method.This method will change its behavior in Vaadin 26. It will create aTreeDataProviderwithHierarchicalDataProvider.HierarchyFormat.FLATTENED, which may affect TreeGrid methods whose behavior depends on the hierarchy format, such asscrollToIndex. To preserve the current behavior, create aTreeDataProvidermanually withHierarchicalDataProvider.HierarchyFormat.NESTEDand set it viaHasHierarchicalDataProvider.setDataProvider(HierarchicalDataProvider)instead of using this shorthand method.This method will change its behavior in Vaadin 26. It will create aTreeDataProviderwithHierarchicalDataProvider.HierarchyFormat.FLATTENED, which may affect TreeGrid methods whose behavior depends on the hierarchy format, such asscrollToIndex. To preserve the current behavior, create aTreeDataProvidermanually withHierarchicalDataProvider.HierarchyFormat.NESTEDand set it viaHasHierarchicalDataProvider.setDataProvider(HierarchicalDataProvider)instead of using this shorthand method.
-
Deprecated ConstructorsConstructorDescriptionthis constructor currently defaults to
HierarchicalDataProvider.HierarchyFormat.NESTED, but starting from Vaadin 26 it will default toHierarchicalDataProvider.HierarchyFormat.FLATTENEDinstead. This may affect TreeGrid methods whose behavior depends on the hierarchy format, such asscrollToIndex. Switch toTreeDataProvider(TreeData, HierarchyFormat)and passHierarchicalDataProvider.HierarchyFormat.NESTEDexplicitly to preserve the current behavior.