Class Grid.GridContextClickEvent

    • Constructor Detail

      • GridContextClickEvent

        public GridContextClickEvent​(Grid source,
                                     com.vaadin.shared.MouseEventDetails mouseEventDetails,
                                     GridConstants.Section section,
                                     int rowIndex,
                                     Object itemId,
                                     Object propertyId)
        Deprecated.
    • Method Detail

      • getItemId

        public Object getItemId()
        Deprecated.
        Returns the item id of context clicked row.
        Returns:
        item id of clicked row; null if header or footer
      • getPropertyId

        public Object getPropertyId()
        Deprecated.
        Returns property id of clicked column.
        Returns:
        property id
      • getSection

        public GridConstants.Section getSection()
        Deprecated.
        Return the clicked section of Grid.
        Returns:
        section of grid
      • getRowIndex

        public int getRowIndex()
        Deprecated.
        Returns the clicked row index relative to Grid section. In the body of the Grid the index is the item index in the Container. Header and Footer rows for index can be fetched with Grid.getHeaderRow(int) and Grid.getFooterRow(int).
        Returns:
        row index in section