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

21 lines (20 loc) 635 B
export declare type DataResult<T> = T | IDataRowGroup<T>; export interface IDataRowGroup<T> { data: T[]; $hideRows: boolean; value: string; } /** * The augmented data row array displayed by the table. * Note: this array is made available to the table templete as the `$data` field */ export declare type DataResults<T> = T[] & { visibleColumnCount: number; }; /** * The augmented grouped data row array displayed by the table * Note: this array is made available to the table templete as the `$groups` field */ export declare type GroupedDataResults<T> = IDataRowGroup<T>[] & { visibleColumnCount: number; };