Skip to content
TREB Docs

TableSortOptions

TableSortOptions interface

Members
asc
boolean
boolean
ascending sort. defaults to true.
column
number
number
when sorting, column is relative to the table (and 0-based). so the first column in the table is 0, regardless of where the table is in the spreadsheet. defaults to 0, if not specified.
typesort type. defaults to 'auto'. 'auto' looks at the values in the column, and uses text sort if there are more strings, or numeric if there are more numbers. if it's even, sorts as text.
Referenced by
EmbeddedSpreadsheet.SortTable
Table