ng-table
Version:
Table + AngularJS ================= [](https://travis-ci.org/esvit/ng-table) [](https://coveralls.io/r/esvit/ng-table) [![seman
13 lines (12 loc) • 486 B
TypeScript
/// <reference types="angular" />
import { IPromise } from 'angular';
import { NgTableParams } from '../ngTableParams';
import { IDataRowGroup } from '../data';
/**
* Signature of a function that will called whenever {@link NgTableParams} requires to group
* the data rows for display in the table
* @param params the table requesting the rows to be grouped
*/
export interface IGetGroupFunc<T> {
(params: NgTableParams<T>): IDataRowGroup<T>[] | IPromise<IDataRowGroup<T>[]>;
}