To learn more about using JavaScript in LeanFT, see Setting up and working with the JavaScript SDK.
For JavaScript code samples, see Code Samples - JavaScript.

GridCell

SAPGUI. GridCell

GridCell

Constructor

new GridCell()

A GridCell 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.<bool>}

Indicates whether the cell is editable.
Returns:
a promise that is fulfilled with the editable status of this cell.
Type
Promise.<bool>

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>