a guest Jul 16th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="mat-elevation-z8" fxFlex="100" fxLayout="column">
  2.   <table mat-table [dataSource]="userList" fxFlex="100">
  3.     <ng-container matColumnDef="first_name">
  4.       <th mat-header-cell *matHeaderCellDef> First name</th>
  5.       <td mat-cell *matCellDef="let element"> {{element.first_name}} </td>
  6.     </ng-container>
  7.     <ng-container matColumnDef="last_name">
  8.       <th mat-header-cell *matHeaderCellDef> Last name</th>
  9.       <td mat-cell *matCellDef="let element"> {{element.last_name}} </td>
  10.     </ng-container>
  11.     <ng-container matColumnDef="email">
  12.       <th mat-header-cell *matHeaderCellDef> Email</th>
  13.       <td mat-cell *matCellDef="let element"> {{}} </td>
  14.     </ng-container>
  15.     <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
  16.     <tr mat-row *matRowDef="let row; columns: displayedColumns;" (click)="userSelected(row)"></tr>
  17.   </table>
  18.   <mat-paginator [pageSize]="3" [length]="pagesCount" (page)="pageChanged($event)"></mat-paginator>
  19. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand