Skip to main content
Version: 1.x

Function: ensureRowVisible()

ensureRowVisible(page, tableId, rowIndex): Promise<void>

Ensures a table row is visible by scrolling if needed (grid tables only).

Parameters​

page​

TableOperationsPage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

rowIndex​

number

Zero-based row index.

Returns​

Promise<void>

Capability​

ui5.table.ensureRowVisible

Intent​

Scroll a grid table to bring a specific row into the visible viewport.

Remarks​

For responsive tables this is a no-op since they auto-scroll.

Example​

await ensureRowVisible(page, 'gridTable', 50);