One sort instruction: column index + direction. Used by TableModelIf.doSort and AreaModelIf.doSort.

Example

// sort once by column 10 descending (and match the header icon set with sortState: "desc")
tableModel.doSort([new SortItem(10, "desc")]);

Hierarchy

  • SortItem

Constructors

Properties

Constructors

Properties

columnIndex: number

Column index (west + center + east).

sortState: SortState

"asc", "desc" or "" (unsorted).