diff app/result-column.ts @ 25:0795207f3b90

ng2-table now with pager, sorting and styling.
author casties
date Tue, 26 Jan 2016 19:19:23 +0100
parents
children 4926885f8a99
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/result-column.ts	Tue Jan 26 19:19:23 2016 +0100
@@ -0,0 +1,11 @@
+export class ResultColumn {
+    public name: string;
+    public title: string;
+    public sort: any;
+    
+    constructor (name: string, title: string, sort='') {
+        this.name = name;
+        this.title = title;
+        this.sort = sort;
+    }
+}
\ No newline at end of file