Praman — Agent-First SAP UI5 Test Automation Plugin - v1.2.0
    Preparing search index...

    Function getSortOrder

    • 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.

      ui5.table.getSortOrder

      Read the current sort direction and column for a UI5 table column.

      const sort = await getSortOrder(page, 'myTable', 0);