UNPKG

ng-table

Version:

Table + AngularJS ================= [![Build Status](https://travis-ci.org/esvit/ng-table.svg)](https://travis-ci.org/esvit/ng-table) [![Coverage Status](https://coveralls.io/repos/esvit/ng-table/badge.png)](https://coveralls.io/r/esvit/ng-table) [![seman

13 lines (12 loc) 486 B
/// <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>[]>; }