Skip to main content

Function: filterByColumn()

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

Defined in: src/modules/table-filter-sort.ts:119

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>

Throws​

ControlError if the filter cannot be applied.

Example​

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