Suppose I have a datable like this :
<md-table #table [dataSource]="dataSource">
<!-- first Column -->
<ng-container mdColumnDef="position">
<md-header-cell *mdHeaderCellDef> No. </md-header-cell>
<md-cell *mdCellDef="let element"> {{element.position}} </md-cell>
</ng-container>
<!-- second Column -->
<ng-container mdColumnDef="name">
<md-header-cell *mdHeaderCellDef> Name </md-header-cell>
<md-cell *mdCellDef="let element"> {{element.name}} </md-cell>
</ng-container>
<md-header-row *mdHeaderRowDef="displayedColumns"></md-header-row>
<md-row *mdRowDef="let row; columns: displayedColumns;"></md-row>
</md-table>
How can I apply a css class to first and second column simultaneously ?
If I wrap first and second column with a span tag and apply a css class to it, it dosen't work.