One sort instruction: column index + direction. Used by TableModelIf.doSort and AreaModelIf.doSort.
// sort once by column 10 descending (and match the header icon set with sortState: "desc")tableModel.doSort([new SortItem(10, "desc")]); Copy
// sort once by column 10 descending (and match the header icon set with sortState: "desc")tableModel.doSort([new SortItem(10, "desc")]);
Column index (west + center + east).
"asc", "desc" or "" (unsorted).
"asc"
"desc"
""
One sort instruction: column index + direction. Used by TableModelIf.doSort and AreaModelIf.doSort.
Example