com.vaadin.ui.
Interface Grid.DetailsGenerator
-
All Superinterfaces:
Enclosing class:
public static interface Grid.DetailsGenerator extends Serializable
A callback interface for generating details for a particular row in Grid.
Since:
7.5.0
Author:
Vaadin Ltd
See Also:
-
-
Field Summary
Fields Modifier and Type Field and Description static Grid.DetailsGenerator
NULL
A details generator that provides no details
-
Method Summary
All Methods Modifier and Type Method and Description Component
getDetails(Grid.RowReference rowReference)
This method is called for whenever a details row needs to be shown on the client.
-
-
-
Field Detail
-
NULL
static final Grid.DetailsGenerator NULL
A details generator that provides no details
-
-
Method Detail
-
getDetails
Component getDetails(Grid.RowReference rowReference)
This method is called for whenever a details row needs to be shown on the client. Grid removes all of its references to details components when they are no longer displayed on the client-side and will re-request once needed again.
Note: If a component gets generated, it may not be manually attached anywhere. The same details component can not be displayed for multiple different rows.
Parameters:
rowReference
- the reference for the row for which to generate detailsReturns:
the details for the given row, or
null
to leave the details empty.
-
-