Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Checkbox Column -->
- <ng-container matColumnDef="select">
- <th mat-header-cell *matHeaderCellDef>
- <mat-checkbox (change)="$event ? masterToggle() : null"
- [checked]="selection.hasValue() && isAllSelected()"
- [indeterminate]="selection.hasValue() && !isAllSelected()"
- [aria-label]="checkboxLabel()">
- </mat-checkbox>
- </th>
- <td mat-cell *matCellDef="let row">
- <mat-checkbox (click)="$event.stopPropagation()"
- (change)="$event ? selection.toggle(row) : null"
- [checked]="selection.isSelected(row)"
- [disabled]="row.excluded">
- </mat-checkbox>
- </td>
- </ng-container>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement