Function: sortByColumn()
sortByColumn(
page,tableId,columnIndex,options?):Promise<void>
Defined in: src/modules/table-filter-sort.ts:165
Sorts a table by a specific column.
Parameters​
page​
TableFilterSortPage
Playwright Page (or compatible subset).
tableId​
string
The UI5 control ID.
columnIndex​
number
Zero-based column index.
options?​
Sort options (descending defaults to false).
Returns​
Promise<void>
Throws​
ControlError if the sort cannot be applied.
Example​
await sortByColumn(page, 'myTable', 0, { descending: true });