Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public enum DataGrid.SelectionMode

  1. Object
  2. Enum<DataGrid.SelectionMode>
  3. DataGrid.SelectionMode

ImplementsComparable<DataGrid.SelectionMode>

What a tap selects.

Enum constants

NONENothing is selected; the keyboard still moves between cells.
SINGLE_ROWOne row.
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_CELLOne 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

NONE
Nothing is selected; the keyboard still moves between cells.

SINGLE_ROW

SINGLE_ROW
One row.

MULTIPLE_ROWS

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

SINGLE_CELL
One 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)