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.

IgxChartSortDescription

new IgxChartSortDescription(field: string, sortDirection: any): IgxChartSortDescription

Returns IgxChartSortDescription

ngAcceptInputType_sortDirection: any

Gets or sets the property being sorted.

get field(): string

Returns string

set field(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the direction to sort based on the property.

get sortDirection(): ListSortDirection

Returns ListSortDirection

set sortDirection(v: ListSortDirection): void

Parameters

  • v: ListSortDirection

Returns void

Returns if the SortDescription is equal to another.

equals(other: any): boolean

Parameters

  • other: any
    • The SortDescription to compare to.

Returns boolean

findByName(name: string): any

Parameters

  • name: string

Returns any