@deephaven/jsapi-types
    Preparing search index...

    Class Sort

    Describes a Sort present on the table. No visible constructor, created through the use of Column.sort(), will be tied to that particular column data. Sort instances are immutable, and use a builder pattern to make modifications. All methods return a new Sort instance.

    Index
    ASCENDING: string
    DESCENDING: string
    REVERSE: string
    • get direction(): string

      The direction of this sort, either ASC, DESC, or REVERSE.

      Returns string

      String

    • get isAbs(): boolean

      Set to true if the absolute value of the column should be used when sorting; defaults to false.

      Returns boolean

      boolean

    • Builds a Sort instance which takes the absolute value before applying order.

      Returns Sort

      Sort

    • Builds a Sort instance to sort values in ascending order.

      Returns Sort

      Sort

    • Builds a Sort instance to sort values in descending order.

      Returns Sort

      Sort

    • Returns string