Constructors
Section titled "Constructors"IgrDateSummaryOperand
new IgrDateSummaryOperand(): IgrDateSummaryOperand Returns IgrDateSummaryOperand
Methods
Section titled "Methods"operate
Section titled "operate"Executes the static methods and returns SummaryResult[].
Can be overridden in the inherited classes to provide customization for the `summary`.
operate(data: any[], allData: any[], fieldName: string, groupRecord: IgrGroupByRecord): IgrSummaryResult[] Parameters
- data:
any[] - allData:
any[] - fieldName:
string - groupRecord:
IgrGroupByRecord
Returns IgrSummaryResult[]
count
Section titled "count"Inherited from: IgcSummaryOperand
Counts all the records in the data source. If filtering is applied, counts only the filtered records. ``
count(data: any[]): number Parameters
- data:
any[]
Returns number
earliest
Section titled "earliest"Returns the earliest date value in the data records. If filtering is applied, returns the latest date value in the filtered data records. ``
earliest(data: any[]): void Parameters
- data:
any[]
Returns void
latest
Section titled "latest"Returns the latest date value in the data records. If filtering is applied, returns the latest date value in the filtered data records. ``
latest(data: any[]): void Parameters
- data:
any[]