The project contains an example of implementing lazy data loading for TreeDataGrid
.
Task
- hierarchy entityLazyTreeDataGrid
- replaces standardTreeDataGrid
and creates specific vaadinDataProvider
instance in caseLazyTreeDataGridItems
is passed. It registered inLazyTreeComponentApplication
usingComponentRegistration
.LazyHierarchicalDataGridDataProvider
- vaadinDataProvider
implementation that works withLazyTreeDataGridItems
.TaskBrowse.TaskLazyTreeDataGridItems
- sample implementation ofLazyTreeDataGridItems
. It usesDataManager
to fetch data every timeTreeDataGrid
requested it. Query parameters are obtained from vaadinHierarchicalQuery
object.