I needed a table that:
- supports sorting,
- supports filtering (both column based and global)
- is responsive preferbably using CSS rather that a polling JS loop
- can be displayed so the content of the table is the only element that changes size as the viewport changes height
- still supports exporting to CSV. As a bonus, the export honours the filters. You'll probably want to turn off paging to get all available rows.
This uses:
- angular-smart-table: https://lorenzofox3.github.io/smart-table-website
- ng-table-to-csv: https://github.com/kollavarsham/ng-table-to-csv
- the SO answer: https://stackoverflow.com/a/24979148/1410035
git clone <this repo>
cd <this repo>
./webserver.sh
# open localhost:8080