Support for column (cell) templates (#1513)

support for column (cell) templates readme updates and test fixes
This commit is contained in:
Denys Vuika
2017-01-23 10:28:57 +00:00
committed by Eugenio Romano
parent bf5482bf7b
commit eacdfd7f6a
6 changed files with 56 additions and 21 deletions

View File

@@ -15,6 +15,8 @@
* limitations under the License.
*/
import { TemplateRef } from '@angular/core';
export interface DataTableAdapter {
selectedRow: DataRow;
getRows(): Array<DataRow>;
@@ -41,6 +43,7 @@ export interface DataColumn {
title?: string;
srTitle?: string;
cssClass?: string;
template?: TemplateRef<any>;
}
export class DataSorting {