Theme does not work when Angular Material is used
See original GitHub issueI’m submitting a … (check one with “x”)
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior
Table is not themed correctly if Angular Material is used. CellClass is not respected.
Expected behavior
Have the same appearance of the examples.
Reproduction of the problem
Create a project using angular cli, add angular material and create a table using ngx-datatable.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
- Table version: 0.9.x
- Angular version: 4.1.x
- Browser: all
- Language: TypeScript 2.X
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (1 by maintainers)
Top Results From Across the Web
App can't load Angular material theme - Stack Overflow
It's in the original post, the first image. I have tried putting it in the style.css file in the public file, the app.component.css...
Read more >Theming Angular Material
You can use Angular Material without Sass by using a pre-built theme, described in Using a pre-built theme below. However, using the library's...
Read more >How to change Angular material theme in just 5 minutes!
it's very easy to create a custom angular material theme. This will allow you to specify primary, accent and warning colors that will...
Read more >Angular Material Theming System - Complete Guide
In the latest releases of Angular Material, the SASS theming API has been ... If we use theme mixins, it would generate all...
Read more >Defining your own theme in Angular Material - Level Up Coding
After you run ng add @angular/material in your angular app, your styles.css will be updated from a relatively blank file with a $<app>-theme...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @emauro,
Make sure you import the css in one of your parent components:
@Ricardo Varanda Thank You! You saved my day!