ng-table
Version:
Table + AngularJS ================= [](https://travis-ci.org/esvit/ng-table) [](https://coveralls.io/r/esvit/ng-table) [![seman
21 lines (20 loc) • 635 B
TypeScript
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;
};