Skip to main content
Version: 1.x

Function: deselectAllTableRows()

deselectAllTableRows(page, tableId, options?): Promise<void>

Ai

Deselects all rows in a UI5 table.

Parameters

page

TablePage

Playwright Page (or compatible subset).

tableId

string

The UI5 control ID.

options?

TableOptions

Table options.

Returns

Promise<void>

Capability

ui5.table.deselectAll

Intent

Clear all row selections in the table.

Guarantee

On success, all row selections are cleared (no rows selected).

Ai Context

Uses clearSelection() for grid tables, removeSelections(true) for responsive tables.

Sap Module

sap.m.Table, sap.ui.table.Table — clearSelection() / removeSelections()

Business Context

Reset table selection state before a new selection operation.

Example

`await deselectAllTableRows(page, 'myTable');`