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.

Hierarchy

  • Sort

Constructors

Properties

Accessors

Methods

Constructors

Properties

ASCENDING: string
DESCENDING: string
REVERSE: string

Accessors

  • get direction(): string
  • The direction of this sort, either ASC, DESC, or REVERSE.

    Returns string

    String

  • get isAbs(): boolean
  • True if the absolute value of the column should be used when sorting; defaults to false.

    Returns boolean

    boolean

Methods

  • 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