Counts all the records in the data source. If filtering is applied, counts only the filtered records.
IgxSummaryOperand.count(dataSource);
Returns the earliest date value in the data records. If filtering is applied, returns the latest date value in the filtered data records.
IgxDateSummaryOperand.earliest(data);
Returns the latest date value in the data records. If filtering is applied, returns the latest date value in the filtered data records.
IgxDateSummaryOperand.latest(data);
Executes the static methods and returns
IgxSummaryResult[].interface IgxSummaryResult { key: string; label: string; summaryResult: any; }Can be overridden in the inherited classes to provide customization for the
summary.class CustomDateSummary extends IgxDateSummaryOperand { constructor() { super(); } public operate(data?: any[]): IgxSummaryResult[] { const result = []; result.push({ key: "latest", label: "Latest Date", summaryResult: IgxDateSummaryOperand.latest(data) }); return result; } } this.grid.getColumnByName('ColumnName').summaries = CustomDateSummary;IgxDateSummaryOperand