Interface Grid.DetailsGenerator

  • All Superinterfaces:
    Serializable
    Enclosing class:
    Grid

    @Deprecated
    public static interface Grid.DetailsGenerator
    extends Serializable
    Deprecated.
    A callback interface for generating details for a particular row in Grid.
    Since:
    7.5.0
    Author:
    Vaadin Ltd
    See Also:
    NULL
    • Field Detail

      • NULL

        static final Grid.DetailsGenerator NULL
        Deprecated.
        A details generator that provides no details.
    • Method Detail

      • getDetails

        Component getDetails​(Grid.RowReference rowReference)
        Deprecated.
        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 details
        Returns:
        the details for the given row, or null to leave the details empty.