#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; 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 { .display-value-widget__dynamic-table table {
width: 100%; width: 100%;
} }

View File

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