mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
#227 improved styling support for columns
- support for custom css class for entire column (th + td) including cell values - demo for responsive columns behaviour
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
[class.mdl-data-table__header--sorted-ascending]="sorting.key === col.source && sorting.direction === 'asc'"
|
||||
[class.mdl-data-table__header--sorted-descending]="sorting.key === col.source && sorting.direction === 'desc'"
|
||||
(click)="onColumnHeaderClick(col)">
|
||||
<span *ngIf="col.srTitle" class="sr-only">{{col.srTitle}}</span>
|
||||
<span *ngIf="col.title">{{col.title}}</span>
|
||||
<span *ngIf="col.srTitle" class="cell-value sr-only">{{col.srTitle}}</span>
|
||||
<span *ngIf="col.title" class="cell-value">{{col.title}}</span>
|
||||
</th>
|
||||
<!-- Actions -->
|
||||
<th>
|
||||
|
Reference in New Issue
Block a user