annotate app/result-column.ts @ 27:c2946b7135cd

working on larger results.
author casties
date Wed, 27 Jan 2016 15:38:17 +0100
parents 0795207f3b90
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 }