Constructors
Section titled "Constructors"IgxTimeSummaryOperand
new IgxTimeSummaryOperand(): IgxTimeSummaryOperand Returns IgxTimeSummaryOperand
Methods
Section titled "Methods"operate
Section titled "operate"operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] Defined in projects/igniteui-angular/core/src/data-operations/grid-summary.ts:292
Parameters
- data:
any[] - allData:
any[] - fieldName:
string - groupRecord:
IGroupByRecord
Returns IgxSummaryResult[]
count
Section titled "count"Inherited from: IgxSummaryOperand
Counts all the records in the data source. If filtering is applied, counts only the filtered records.
IgxSummaryOperand.count(dataSource); count(data: any[]): number Defined in projects/igniteui-angular/core/src/data-operations/grid-summary.ts:20
Parameters
- data:
any[]
Returns number
earliestTime
Section titled "earliestTime"Returns the earliest time value in the data records. Compare only the time part of the date. If filtering is applied, returns the earliest time value in the filtered data records.
IgxTimeSummaryOperand.earliestTime(data); earliestTime(data: any[]): any Defined in projects/igniteui-angular/core/src/data-operations/grid-summary.ts:284
Parameters
- data:
any[]
Returns any
latestTime
Section titled "latestTime"Returns the latest time value in the data records. Compare only the time part of the date. If filtering is applied, returns the latest time value in the filtered data records.
IgxTimeSummaryOperand.latestTime(data); latestTime(data: any[]): any Defined in projects/igniteui-angular/core/src/data-operations/grid-summary.ts:268
Parameters
- data:
any[]