IgxTimeSummaryOperand

new IgxTimeSummaryOperand(): IgxTimeSummaryOperand

Returns IgxTimeSummaryOperand

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[]

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

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

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[]

Returns any