ng2-smart-table
ng2-smart-table copied to clipboard
Change the color of the selected row
When I select a row, how do I change the color of that row?
ng2-smart-table table tr.selected { background-color: lightblue !important; }
ng2-smart-table table tr.selected { background-color: lightblue !important; }
this only works globally in styles.css but not in app.component.css
https://angular-jiacvb.stackblitz.io
Any hint?
you can use something like this inside your form.component.css
:host /deep/ ng2-smart-table tbody tr.selected {
background: #299b9e !important;
}
/deep/
is deprecated.