Function: getSortOrder()
getSortOrder(
page,tableId,columnIndex):Promise<SortOrderInfo|null>
Defined in: src/modules/table-filter-sort.ts:224
Returns the current sort state 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<SortOrderInfo | null>
Sort info, or null if the column is not sorted.
Intent
Read the current sort direction and column for a UI5 table column.
Example
const sort = await getSortOrder(page, 'myTable', 0);