Skip to main content
Version: 1.x

Function: filterByColumn()

filterByColumn(page, tableId, columnIndex, filterValue, options?): Promise<void>

Applies a filter to a table column.

Parameters​

page​

TableFilterSortPage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

columnIndex​

number

Zero-based column index.

filterValue​

string

The value to filter by.

options?​

TableFilterOptions

Filter options (operator defaults to 'Contains').

Returns​

Promise<void>

Capability​

ui5.table.filterByColumn

Intent​

Filter a UI5 table column by a specified value and operator.

Throws​

ControlError if the filter cannot be applied.

Example​

await filterByColumn(page, 'myTable', 1, 'Active', { operator: 'EQ' });