In my attempt to conceal a table data field, I have used the following code:
<td *ngFor="let tableHeaderItem of gridHeaderData"
[ngStyle]="{'hidden' : tableHeaderItem.hidden ? 'none' : 'table-cell'}">
Unfortunately, this method is not producing the desired effect. I even attempted removing the quotes 'hidden'
and using just hidden
, but it did not work as expected.