Angular Material Table - how to place *ngIf on whole column? Are you looking for something like the following? p-Table is called as TurboTable in order to differantiate if from the deprecated p-dataTable. As you can see I tried to combine Is it possible to declare a variable with a value for string and a placeholder in python?