annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
1 export class ResultColumn {
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
2 public name: string;
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
3 public title: string;
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
4 public sort: any;
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
5
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
6 constructor (name: string, title: string, sort='') {
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
7 this.name = name;
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
8 this.title = title;
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
9 this.sort = sort;
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
10 }
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
11 }