annotate src/app/result-column.ts @ 56:b22e52a128a8 ng2-table

query from url fragment works now somewhat (only for id_is).
author casties
date Tue, 28 Mar 2017 20:03:36 +0200
parents b65a031c4967
children
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;
31
4926885f8a99 selectable result columns. nicer cypher query output.
casties
parents: 25
diff changeset
5 public show: boolean;
25
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
6
31
4926885f8a99 selectable result columns. nicer cypher query output.
casties
parents: 25
diff changeset
7 constructor (name: string, title: string, sort='', show=false) {
25
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
8 this.name = name;
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
9 this.title = title;
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
10 this.sort = sort;
31
4926885f8a99 selectable result columns. nicer cypher query output.
casties
parents: 25
diff changeset
11 this.show = show;
25
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
12 }
0795207f3b90 ng2-table now with pager, sorting and styling.
casties
parents:
diff changeset
13 }