StiDataSort Class
Namespace: Stimulsoft.Report.Dictionary
Inheritance
Implements: IComparer
Constructors
| Constructor | Description |
|---|---|
| constructor(Hashtable rowToConditions, any[][][] conditions, string[] sortColumns, StiDataSource dataSource) |
constructor(rowToConditions: Hashtable, conditions: any[][][], sortColumns: string[], dataSource: StiDataSource)
Parameters
- rowToConditions (Hashtable)
- conditions (any[][][])
- sortColumns (string[])
- dataSource (StiDataSource)
Methods
| Method | Returns | Description |
|---|---|---|
| clear | void | |
| compare | number | |
| compareValues | number |
Method Details
clear
clear(): void
compare
compare(x: DataRow, y: DataRow): number
Parameters
Returns number
compareValues
compareValues(value1: any, value2: any, ascendary: boolean): number
Parameters
- value1 (any)
- value2 (any)
- ascendary (boolean)
Returns number
Fields
| Field | Type | Description |
|---|---|---|
| dataSource | any | |
| sortRow1 | any | |
| sortRow1 | any | |
| sortRow2 | any | |
| sortRow2 | any | |
| value1 | any | |
| value1 | any | |
| value1 | any | |
| value1 | any | |
| value1 | any | |
| value2 | any | |
| value2 | any | |
| value2 | any | |
| value2 | any | |
| value2 | any |