Class DataGrid.EditorCloseEvent<E>

All Implemented Interfaces:
Serializable
Enclosing interface:
DataGrid<E>

public static class DataGrid.EditorCloseEvent<E> extends DataGrid.AbstractDataGridEditorEvent<E>
An event that is fired when the DataGrid editor is closed. Provides access to the components that were used in the editor, giving the possibility to use their values programmatically.
See Also:
  • Field Details

    • isCancelled

      protected boolean isCancelled
  • Constructor Details

    • EditorCloseEvent

      public EditorCloseEvent(DataGrid component, E item, Map<String,Field> fields)
      Constructor for a DataGrid editor close event.
      Parameters:
      component - the DataGrid from which this event originates
      item - the edited item
      fields - fields that correspond to column ids
    • EditorCloseEvent

      public EditorCloseEvent(DataGrid component, E item, Map<String,Field> fields, boolean isCancelled)
      Constructor for a DataGrid editor close event.
      Parameters:
      component - the DataGrid from which this event originates
      item - the edited item
      fields - fields that correspond to column ids
      isCancelled - whether editor was closed by cancel button
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Returns:
      true if editor was closed by cancel button