protected class TreeGrid.BodyUpdater extends Grid.BodyUpdater
NULL| Modifier | Constructor and Description |
|---|---|
protected |
BodyUpdater() |
| Modifier and Type | Method and Description |
|---|---|
void |
update(Row row,
Iterable cellsToUpdate)
Renders a row contained in a row container.
|
postAttach, postDetach, preAttach, preDetachpublic void update(Row row, Iterable cellsToUpdate)
EscalatorUpdaterNote: If rendering of cells is deferred (e.g. because asynchronous data retrieval), this method is responsible for explicitly displaying some placeholder data (empty content is valid). Because the cells (and rows) in an escalator are recycled, failing to reset a cell's presentation will lead to wrong data being displayed in the escalator.
For performance reasons, the escalator will never autonomously clear any data in a cell.
update in interface EscalatorUpdaterupdate in class Grid.BodyUpdaterrow - Information about the row that is being updated.
Note: You should not store nor reuse this reference.cellsToUpdate - A collection of cells that need to be updated. Note:
You should neither store nor reuse the reference to the
iterable, nor to the individual cells.Copyright © 2023 Vaadin Ltd. All rights reserved.