I want to hide specific columns in a table on all other screen than XL. It seems like the approach below does not work for table cells. Is there other ways to do this?
<table class="table table-striped table-hover">
<thead>
<tr>
<th>Name</th>
<th class="d-none d-xl-block">Type</th>
<th class="d-none d-xl-block">IMO</th>
<th>Created</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let report of reports">
<td>{{report.name}}</td>
<td class="d-none d-xl-block">{{report.type}}</td>
<td class="d-none d-xl-block">{{report.imo}}</td>
<td>{{report.reportCreated | date: 'dd-MM-yyyy'}}</td>
</tr>
</tbody>
</table>