Pivottable.JS Angular 5 Wrapper
npm i ngx-pivot-table
You have to install required software before you're able to use this library:
- Install JQuery
- Install JQuery
Add theses lignes in your .angluar-cli.son file :
"styles": [
"../node_modules/pivottable/dist/pivot.min.css",
"../node_modules/subtotal/dist/subtotal.min.css"
],
"scripts": [
"../node_modules/pivottable/dist/pivot.min.js",
"../node_modules/pivottable/dist/pivot.fr.min.js",
"../node_modules/subtotal/dist/subtotal.min.js"
]
<ngx-pivot-table [data]="mydata"></ngx-pivot-table>