Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public enum DataGrid.SelectionMode
- Object
- Enum<DataGrid.SelectionMode>
- DataGrid.SelectionMode
ImplementsComparable<DataGrid.SelectionMode>
What a tap selects.
Enum constants
NONE | Nothing is selected; the keyboard still moves between cells. |
SINGLE_ROW | One row. |
MULTIPLE_ROWS | Any rows: Shift extends from the last row chosen, Control or Command adds and removes one, and a mouse drag selects a range. |
SINGLE_CELL | One cell, outlined, in a row that is shown selected. |
Methods
public static DataGrid.SelectionMode[] values() | |
public static DataGrid.SelectionMode valueOf(String name) |
Inherited methods
Enum constant details
NONE
NONENothing is selected; the keyboard still moves between cells.
SINGLE_ROW
SINGLE_ROWOne row.
MULTIPLE_ROWS
MULTIPLE_ROWSAny rows: Shift extends from the last row chosen, Control or
Command adds and removes one, and a mouse drag selects a range.
SINGLE_CELL
SINGLE_CELLOne cell, outlined, in a row that is shown selected.
Method details
values
public static DataGrid.SelectionMode[] values()valueOf
public static DataGrid.SelectionMode valueOf(String name)