Skip to main content

Function: getSelectedRows()

getSelectedRows(page, tableId, options?): Promise<readonly number[]>

Defined in: src/modules/table.ts:474

Returns the indices of selected rows.

Parameters​

page​

TablePage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

options?​

TableOptions

Table options.

Returns​

Promise<readonly number[]>

Example​

`const sel = await getSelectedRows(page, 'myTable');`