How to style a row in ngx-datatable component? Here is an example in component's documentation: https://swimlane.github.io/ngx-datatable/#css
When I run same demo only one row has background color set. Here is my demo
How to style a row in ngx-datatable component? Here is an example in component's documentation: https://swimlane.github.io/ngx-datatable/#css
When I run same demo only one row has background color set. Here is my demo
In order to style properly the child component from the parent component, you can use one of the methods specified in this link. Preferably use the answer 3 in the link which will prevent the use of deprecated selector like :deep:. You can fix the color not appearing in even rows by
/deep/ .age-is-ten { background: #ffc91f !important;}