Enum Class DataGrid.SelectionMode

java.lang.Object
java.lang.Enum<DataGrid.SelectionMode>
io.jmix.ui.component.DataGrid.SelectionMode
All Implemented Interfaces:
Serializable, Comparable<DataGrid.SelectionMode>, Constable
Enclosing interface:
DataGrid<E>

public static enum DataGrid.SelectionMode extends Enum<DataGrid.SelectionMode>
  • Enum Constant Details

    • SINGLE

      public static final DataGrid.SelectionMode SINGLE
      A SelectionMode that supports for only single rows to be selected at a time.
    • MULTI

      public static final DataGrid.SelectionMode MULTI
      A SelectionMode that supports multiple selections to be made.
    • MULTI_CHECK

      public static final DataGrid.SelectionMode MULTI_CHECK
      A SelectionMode that supports multiple selections to be made, using built-in selection checkbox column.
    • NONE

      public static final DataGrid.SelectionMode NONE
      A SelectionMode that does not allow for rows to be selected.
  • Method Details

    • values

      public static DataGrid.SelectionMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DataGrid.SelectionMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null