Skip to main content
Version: 1.x

Function: deselectAllTableRows()

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

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

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>

Intent

Clear all row selections in the table.

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');`