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.
Constructors
Section titled "Constructors"IgxChartSortDescription
new IgxChartSortDescription(field: string, sortDirection: any): IgxChartSortDescription Returns IgxChartSortDescription
Properties
Section titled "Properties"ngAcceptInputType_sortDirection
Section titled "ngAcceptInputType_sortDirection"ngAcceptInputType_sortDirection: any Accessors
Section titled "Accessors"field
Section titled "field"Gets or sets the property being sorted.
get field(): string
Returns string
set field(v: string): void Parameters
- v:
string
Returns void
sortDirection
Section titled "sortDirection"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
Methods
Section titled "Methods"equals
Section titled "equals"Returns if the SortDescription is equal to another.
equals(other: any): boolean Parameters
- other:
any- The SortDescription to compare to.
Returns boolean
findByName
Section titled "findByName"findByName(name: string): any Parameters
- name:
string