igniteui-webcomponents-grids
Version:
Ignite UI Web Components grid components.
52 lines (32 loc) • 1.49 kB
TypeScript
import { IgcSummaryOperand } from './igc-summary-operand';
import { IgcGroupByRecord } from './igc-group-by-record';
import { IgcSummaryResult } from './igc-summary-result';
/* blazorCSSuppress */
// @dynamic
export declare class IgcNumberSummaryOperand extends IgcSummaryOperand
{
/**
* Returns the minimum numeric value in the provided data records.
* If filtering is applied, returns the minimum value in the filtered data records.
*/
public static min(data: any[]): number;
/**
* Returns the maximum numeric value in the provided data records.
* If filtering is applied, returns the maximum value in the filtered data records.
*/
public static max(data: any[]): number;
/**
* Returns the sum of the numeric values in the provided data records.
* If filtering is applied, returns the sum of the numeric values in the data records.
*/
public static sum(data: any[]): number;
/**
* Returns the average numeric value in the data provided data records.
* If filtering is applied, returns the average numeric value in the filtered data records.
*/
public static average(data: any[]): number;
/**
* Executes the static methods and returns summary result[]`.
*/
public operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IgcGroupByRecord): IgcSummaryResult[];
}