TableCell

SAPUI5. TableCell

new TableCell(rowIndex, cellIndex, ownerTable)

A single cell in the TableTO SAPUI5 object.
Parameters:
NameTypeDescription
rowIndexnumberThe 0-based index of the cell's row.
cellIndexnumberThe 0-based index of the cell's column.
ownerTableTableTOThe table that the current cell belongs to.

Methods

selectItem(text) → {Promise.<void>}

Selects the specified item in the table cell according to its text.
Parameters:
NameTypeDescription
textstringThe text of the item to select.
Returns:
a promise that is fulfilled after the operation is done.
Type
Promise.<void>

setText(text) → {Promise.<void>}

Sets the contents of the table cell to the specified text value.
Parameters:
NameTypeDescription
textstringThe text value to set.
Returns:
a promise that is fulfilled after the operation is done.
Type
Promise.<void>