#1085 disabled dynamic table fields

This commit is contained in:
mauriziovitale84
2016-11-24 12:16:08 +00:00
committed by Mario Romano
parent f23ed9d774
commit 224d6ef476
2 changed files with 9 additions and 3 deletions

View File

@@ -6,6 +6,12 @@
padding: 8px;
}
.display-value-widget__dynamic-table .is-disabled {
background-color: transparent;
border-bottom: 1px dotted rgba(0,0,0,.12);
color: rgba(0,0,0,.26);
}
.display-value-widget__dynamic-table table {
width: 100%;
}

View File

@@ -40,12 +40,12 @@
</div>
<div *ngSwitchCase="'dynamic-table'">
<div class="display-value-widget__dynamic-table">
<div>{{field.name}}</div>
<div class="is-disabled">{{field.name}}</div>
<table class="mdl-data-table mdl-js-data-table">
<thead>
<tr>
<th *ngFor="let column of visibleColumns"
class="mdl-data-table__cell--non-numeric">
class="mdl-data-table__cell--non-numeric is-disabled">
{{column.name}}
</th>
</tr>
@@ -53,7 +53,7 @@
<tbody>
<tr *ngFor="let row of rows">
<td *ngFor="let column of visibleColumns"
class="mdl-data-table__cell--non-numeric">
class="mdl-data-table__cell--non-numeric is-disabled">
{{ getCellValue(row, column) }}
</td>
</tr>