Got a question regarding angular material v11. I want to make a content projection to display cells which I need for business purposes. All I did right now is something like that:
Here you can find a sample from stackblitz
Unfortunately, I got an error which means: Cannot read property 'template' of undefined
. As I'm looking to object matColumnDef
there are some fields which missing like MatHeaderRowDef
and MatFooterRowDef
.
To do that I used this sample which works fine:
Do you know how could I potentially solve this issue? Nice to see all tips!
question from:https://stackoverflow.com/questions/65903158/is-it-possible-to-content-projection-in-angular-material-table-version-11