Project

General

Profile

1
<p-table [value]="receivedException"
2
         [autoLayout]="true"
3
         styleClass="p-datatable-gridlines"
4
         [rowHover]="true">
5
  <ng-template pTemplate="header">
6
    <tr>
7
      <th>Routine ID</th>
8
      <th>Routine Name</th>
9
      <th>Description</th>
10
      <th>Status</th>
11
      <th class="two-buttons"></th>
12
    </tr>
13
  </ng-template>
14
  <ng-template pTemplate="body" let-exception>
15
    <tr>
16
      <td>{{exception.alteryxRoutineId}}</td>
17
      <td>NOT IN DB</td>
18
      <td>{{exception.alteryxExceptionDescription}}</td>
19
      <td>{{exception.alteryxExceptionStatus.name}}</td>
20
      <!-- Preview Icon -->
21
      <td>
22
        <p-button (click)="preview(exception)"
23
                  icon="pi pi-file-o"
24
                  styleClass="p-mr-2 p-button-secondary p-button-rounded p-button-outlined">
25
        </p-button>
26
        <p-button (click)="recalculation(exception)"
27
                  icon="pi pi-chart-bar"
28
                  styleClass="p-button-secondary p-button-rounded p-button-outlined">
29
        </p-button>
30
      </td>
31
    </tr>
32
  </ng-template>
33
</p-table>
(1-1/4)