editingCell([row], [column], [new_order])

Class: Table.

Description:

Gets or sets the cell currently being edited.
When row and column are provided and are valid, the specified cell enters edit mode.
Pass null as a first argument to stop editing currently edited cell.
When called with no arguments, returns the cell currently being edited, or null if no cell is being edited.

Parameters:

Name Type Default Description

[row]

number

Row index of the cell to edit, or null to stop editing currently edited cell (if any).

[column]

number

Column index of the cell to edit.

[new_order]

boolean

false

Specified if row and column should be interpreted as new index as displayed (after row sorting and column reordering) or not.

Returns:

When row and cell is specified, an instance of this Table is returned, otherwise a currently edited cell is retuned of null if no cell is being edited.

Type: Cell | null | Table