mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3267] changed true/false values showed with a readonly checkbox (#3524)
This commit is contained in:
@@ -17,7 +17,13 @@
|
|||||||
[class.adf-dynamic-table-widget__row-selected]="row.selected" (keyup)="onKeyPressed($event, row)">
|
[class.adf-dynamic-table-widget__row-selected]="row.selected" (keyup)="onKeyPressed($event, row)">
|
||||||
<td *ngFor="let column of content.visibleColumns"
|
<td *ngFor="let column of content.visibleColumns"
|
||||||
(click)="onRowClicked(row)">
|
(click)="onRowClicked(row)">
|
||||||
{{ getCellValue(row, column) }}
|
<span *ngIf="column.type !== 'Boolean' else checkbox">
|
||||||
|
{{ getCellValue(row, column) }}
|
||||||
|
</span>
|
||||||
|
<ng-template #checkbox>
|
||||||
|
<mat-checkbox disabled [checked]="getCellValue(row, column)">
|
||||||
|
</mat-checkbox>
|
||||||
|
</ng-template>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Reference in New Issue
Block a user