Open topic with navigation

# TableCell

## SAPGUI. TableCell

TableCell

## Constructor

## new TableCell()

A TableCell object

# Methods

## click() → {Promise.<void>}

Emulates a click on the cell.

##### Returns:

a promise that is fulfilled when the operation is performed.

Type
  Promise.<void>

## isEditable() → {Promise.<boolean>}

Indicates whether the cell is editable.

##### Returns:

a promise that is fulfilled with the editable status of this cell.

Type
  Promise.<boolean>

## length() → {Promise.<number>}

The number of characters that can be entered in the cell. -1 if the cell does not have a valid length.

##### Returns:

a promise that is fulfilled with the number of characters that can be entered in the cell.

Type
  Promise.<number>

## openPossibleEntries() → {Promise.<void>}

Opens the list of possible entries.

##### Returns:

a promise that is fulfilled when the operation is performed.

Type
  Promise.<void>

## setValue(value) → {Promise.<void>}

Set the content of this cell.

##### Parameters:

Name | Type | Description
--- | --- | ---
`value` | string | The content of this cell.

##### Returns:

a promise that is fulfilled when the operation is performed.

Type
  Promise.<void>

## value() → {Promise.<string>}

The content of this cell.

##### Returns:

a promise that is fulfilled with the content of this cell.

Type
  Promise.<string>