Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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:

working sample

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
860 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...