You're viewing an older version of Framework JavaDoc. Please see version 7.7.46 for the latest.
com.vaadin.client.widget.grid.

Interface DetailsGenerator

  • All Known Subinterfaces:

    HeightAwareDetailsGenerator

    public interface DetailsGenerator

    A callback interface for generating details for a particular row in Grid.

    Since:

    7.5.0

    Author:

    Vaadin Ltd

    • Field Summary

      Fields
      Modifier and Type Field Description
      static DetailsGenerator NULL

      A details generator that provides no details

    • Method Summary

      All Methods
      Modifier and Type Method Description
      com.google.gwt.user.client.ui.Widget getDetails​(int rowIndex)

      This method is called for whenever a new details row needs to be generated.

    • Field Detail

      • NULL

        static final DetailsGenerator NULL

        A details generator that provides no details

    • Method Detail

      • getDetails

        com.google.gwt.user.client.ui.Widget getDetails​(int rowIndex)

        This method is called for whenever a new details row needs to be generated.

        Parameters:

        rowIndex - the index of the row for which to generate details

        Returns:

        the details for the given row, or null to leave the details empty.