Reputation: 19411
IntelliJ Idea 2020.1 shows this error for matHeaderRowDef
in a template:
Property matHeaderRowDef is not provided by any applicable directive on an embedded template
GitHub example to reproduce the issue
I don't understand why this error is shown:
DemoMaterialModule
in material.module.ts exports the MatTableModule
where MatHederRowDef is defined.MatTableModule
show now error: e.g. MatHederCellDef works fineWhat am I missing?
Upvotes: 3
Views: 788