My goal is to dynamically style a MatHeaderCell
instance using the following code:
[ngStyle]="styleHeaderCell(c)"
After examining, I noticed that:
styleHeaderCell(c)
It receives the column and returns an object, however, the style changes are not being applied. The column still has a minimum width of 12rem
but I want it to be 4rem
. Any suggestions?