public static interface Table.ColumnGenerator extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Object |
generateCell(Table source,
Object itemId,
Object columnId)
Called by Table when a cell in a generated column needs to be
generated.
|
Object generateCell(Table source, Object itemId, Object columnId)
source - the source TableitemId - the itemId (aka rowId) for the of the cell to be generatedcolumnId - the id for the generated column (as specified in
addGeneratedColumn)Component that should be rendered in the cell or a
String that should be displayed in the cell. Other
return values are not supported.Copyright © 2019 Vaadin Ltd. All rights reserved.