Share this page

# TableCell

## SAPUI5. TableCell

## new TableCell(rowIndex, cellIndex, ownerTable)

A single cell in the TableTO SAPUI5 object.

##### Parameters:

Name | Type | Description
--- | --- | ---
`rowIndex` | number | The 0-based index of the cell's row.
`cellIndex` | number | The 0-based index of the cell's column.
`ownerTable` | TableTO | The 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:

Name | Type | Description
--- | --- | ---
`text` | string | The 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:

Name | Type | Description
--- | --- | ---
`text` | string | The text value to set.

##### Returns:

a promise that is fulfilled after the operation is done.

Type
  Promise.<void>

Tips to improve your search results... UFT Developer JavaScript SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: