├── src
├── demo
│ ├── assets
│ │ ├── .gitkeep
│ │ └── data
│ │ │ └── data.json
│ ├── pages
│ │ ├── ng2-table-view-test
│ │ │ ├── index.ts
│ │ │ ├── page.ts
│ │ │ ├── cols
│ │ │ │ └── columns.ts
│ │ │ └── page.html
│ │ └── service
│ │ │ └── data.service.ts
│ ├── app
│ │ ├── app.component.css
│ │ ├── app.component.html
│ │ ├── app.component.ts
│ │ ├── app.routes.ts
│ │ └── app.module.ts
│ ├── environments
│ │ ├── environment.prod.ts
│ │ └── environment.ts
│ ├── typings.d.ts
│ ├── styles.css
│ ├── tsconfig.app.json
│ ├── tsconfig.spec.json
│ ├── main.ts
│ ├── index.html
│ ├── utils
│ │ └── app-utils.ts
│ └── polyfills.ts
└── ng2-table-view
│ ├── index.ts
│ ├── table
│ ├── template
│ │ └── select.html
│ ├── config
│ │ ├── ColumnIfc.ts
│ │ ├── SelectTableColumn.ts
│ │ ├── TableColumns.ts
│ │ ├── TableColumn.ts
│ │ ├── ConfigBuilder.ts
│ │ └── TableView.ts
│ ├── pipes
│ │ ├── nested-table-data-pipe.ts
│ │ └── table-data-pipe.ts
│ ├── service
│ │ └── emitter.service.ts
│ ├── table.ts
│ ├── directive
│ │ ├── filtering.ts
│ │ ├── sorting.ts
│ │ ├── paging
│ │ │ ├── pagination.html
│ │ │ ├── paging.ts
│ │ │ └── paging.css
│ │ └── table-cell-custom-template.ts
│ ├── table.html
│ └── table.css
│ ├── table-material.module.ts
│ ├── ng2-table-view.ts
│ └── table.view.module.ts
├── index.ts
├── tsconfig.json
├── .gitattributes
├── .gitignore
├── .angular-cli.json
├── README.md
├── tslint.json
└── package.json
/src/demo/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/demo/pages/ng2-table-view-test/index.ts:
--------------------------------------------------------------------------------
1 | export * from './page';
2 |
--------------------------------------------------------------------------------
/index.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by Dennis on 17/05/2016.
3 | */
4 | export * from './src/ng2-table-view';
--------------------------------------------------------------------------------
/src/demo/app/app.component.css:
--------------------------------------------------------------------------------
1 | /*@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';*/
--------------------------------------------------------------------------------
/src/demo/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | production: true
3 | };
4 |
--------------------------------------------------------------------------------
/src/ng2-table-view/index.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by Dennis
3 | */
4 | export * from './ng2-table-view';
5 | export * from './table.view.module';
--------------------------------------------------------------------------------
/src/demo/typings.d.ts:
--------------------------------------------------------------------------------
1 | /* SystemJS module definition */
2 | declare var module: NodeModule;
3 |
4 | interface NodeModule {
5 | id: string;
6 | }
7 |
--------------------------------------------------------------------------------
/src/ng2-table-view/table/template/select.html:
--------------------------------------------------------------------------------
1 |
|
5 |
6 |
7 |
13 | {{column.title}}
14 |
15 |
16 |
21 | {{column.title}}
22 | |
28 |
|---|
|
34 |
35 |
38 |
40 |
41 |
42 | {{row | nestedTableData:column.name | tableData:column:row}}
39 | |
43 |