Constructors
Section titled "Constructors"IgrSummaryOperand
new IgrSummaryOperand(): IgrSummaryOperand Returns IgrSummaryOperand
Methods
Section titled "Methods"operate
Section titled "operate"Executes the static count method 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"Counts all the records in the data source. If filtering is applied, counts only the filtered records. ``
count(data: any[]): number Parameters
- data:
any[]