Represents an element in the current sort applied to a data source or provider. Changes to this object are not observed or expected after it is initially assigned to a collection.

Hierarchy

Hierarchy (view full)

Constructors

  • Parameters

    • Optional field: string
    • Optional sortDirection: ListSortDirection

    Returns IgcChartSortDescription

Accessors

  • get field(): string
  • Gets or sets the property being sorted.

    Returns string

  • set field(v): void
  • Parameters

    • v: string

    Returns void

  • get sortDirection(): ListSortDirection
  • Gets or sets the direction to sort based on the property.

    Returns ListSortDirection

  • set sortDirection(v): void
  • Parameters

    • v: ListSortDirection

    Returns void

Methods

  • Returns if the SortDescription is equal to another.

    Parameters

    • other: any
      • The SortDescription to compare to.

    Returns boolean

  • Parameters

    • name: string

    Returns any