summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/report-run/run/run-report-result-set/run-report-result-set.component.html
blob: 76183db35512b21cac9dd3089e319928358cdbd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="app-data-table">
  <table mat-table class="full-width-table" matSort aria-label="Elements">
    <!-- Id Column -->
    <!-- <div *ngFor="let b of "> -->
      <div *ngFor="let keys of displayedColumns; let i = index">
        <ng-container matColumnDef="{{keys}}">
            <th mat-header-cell *matHeaderCellDef mat-sort-header >{{displayedColumnsArr[i].split(",")[0]}}</th>
            <td mat-cell *matCellDef="let row">{{row[keys]}}</td>
          </ng-container>
        </div>
       
  <!-- </div> -->
    <tr mat-header-row *matHeaderRowDef="displayedColumns" ></tr>
    <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
  </table>

  <mat-paginator #paginator
      [length]="dataSource?.data.length"
      [pageIndex]="0"
      [pageSize]="15"
      [pageSizeOptions]="[15, 25, 50, 100, 250]">
  </mat-paginator>
</div>