Skip to main content
Version: 1.x

Function: getFilterValue()

getFilterValue(page, tableId, columnIndex): Promise<string | null>

Returns the current filter value of a table column.

Parameters​

page​

TableFilterSortPage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

columnIndex​

number

Zero-based column index.

Returns​

Promise<string | null>

Filter value string, or null if the column is not filtered.

Capability​

ui5.table.getFilterValue

Intent​

Read the currently applied filter value for a UI5 table column.

Example​

const filter = await getFilterValue(page, 'myTable', 0);