mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-992] improve datatable styles according to UX guidelines (#2088)
* improve datatable style * datatable and document list enhancements - support to toggle header in DataTable - Document List automatically hides header for empty content
This commit is contained in:
committed by
Eugenio Romano
parent
7e357cfbae
commit
be3d3d2aa3
@@ -1,7 +1,8 @@
|
||||
<table
|
||||
*ngIf="data"
|
||||
class="full-width adf-data-table">
|
||||
<thead>
|
||||
|
||||
<thead *ngIf="showHeader">
|
||||
<tr>
|
||||
<!-- Actions (left) -->
|
||||
<th *ngIf="actions && actionsPosition === 'left'" class="actions-column">
|
||||
@@ -27,8 +28,8 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tbody>
|
||||
<ng-container *ngIf="!loading">
|
||||
<tr *ngFor="let row of data.getRows(); let idx = index" tabindex="0"
|
||||
[class.is-selected]="row.isSelected"
|
||||
|
Reference in New Issue
Block a user