Represents a sort condition which will sort cells based on a custom, ordered list of values.
Constructors
Section titled "Constructors"CustomListSortCondition
new CustomListSortCondition(sortDirection: SortDirection, list: string[]): CustomListSortCondition Returns CustomListSortCondition
Properties
Section titled "Properties"$t: Type Accessors
Section titled "Accessors"Gets the ordered list of values by which to sort.
get list(): IEnumerable$1<string> Returns IEnumerable$1<string>
sortDirection
Section titled "sortDirection"Inherited from: SortCondition
Gets the value which indicates the sort direction represented by the sort condition. Either SortDirection.Ascending or SortDirection.Descending.
get sortDirection(): SortDirection Returns SortDirection
Methods
Section titled "Methods"equals
Section titled "equals"Determines whether the [[CustomListSortCondition]] is equal to the specified object.
equals(obj: any): boolean Parameters
- obj:
anyThe object to test for equality.
Returns boolean
getHashCode
Section titled "getHashCode"Gets the hash code for the [[CustomListSortCondition]].
getHashCode(): number