1.5.0
Add style to row template
https://ngx-easy-table.stackblitz.io/template
Table for basic styles uses awesome Spectre.css - https://picturepan2.github.io/spectre.
Each class has prefix ngx-
so you can easy customise table to you project.
If you use angular-cli just add basic styles to angular-cli.json:
"styles": [
"../node_modules/ngx-easy-table/spectre.css",
"../node_modules/ngx-easy-table/spectre-icons.css",
],
If you use just Angular without CLI, add above .css files as @import "~ngx-easy-table/spectre.css"
to your basic style.css file or to .
If you would like to use your own styles just go to https://picturepan2.github.io/spectre/getting-started.html#custom
Customise Spectre.css (colors, marings, shadows etc). Then scroll to Custom prefix
section and add prefix ngx-
(this is because Spectre uses same classes as many other css frameworks).
By adding prefix you will use just spectre styles and vice versa. Spectre won't overwrite your app styles.
At the end run gulp run build
and gulp run prefix
and add it to you page.