Constructor and Description |
---|
TextRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
render(RendererCellReference cell,
String text)
Called whenever the
Grid updates a cell. |
public void render(RendererCellReference cell, String text)
Renderer
Grid
updates a cell.
For optimal performance, work done in this method should be kept to a
minimum since it will be called continuously while the user is scrolling.
It is recommended to set up the cell's DOM structure in
ComplexRenderer.init(RendererCellReference)
and only make
incremental updates based on cell data in this method.
Copyright © 2019 Vaadin Ltd. All rights reserved.