I found one example of ng2-table.
https://github.com/valor-software/ng2-table
Demo :- http://valor-software.com/ng2-table/
A recommended way to install ng2-table is through npm package manager using the following command:
npm i ng2-table --save
Below API used.
import { Ng2TableModule } from 'ng2-table/ng2-table';
or if you want to import specified plugins (Table component is required, the others are optional):
import { NgTableComponent, NgTableFilteringDirective, NgTablePagingDirective, NgTableSortingDirective } from 'ng2-table/ng2-table';