Skip to content
Snippets Groups Projects
Commit 52570933 authored by Radek Puš's avatar Radek Puš
Browse files

přidáno pole pro tlačítko smazat u souborů

parent d8a32996
No related branches found
No related tags found
No related merge requests found
......@@ -9,15 +9,15 @@
 
<!-- Name Column -->
<ng-container matColumnDef="name">
<th mat-header-cell *matHeaderCellDef> Name </th>
<th mat-header-cell *matHeaderCellDef> Název </th>
<td mat-cell *matCellDef="let element"> {{element.name}} </td>
</ng-container>
 
<!-- Symbol Column -->
<!--<ng-container matColumnDef="symbol">
<th mat-header-cell *matHeaderCellDef> Symbol </th>
<!--Delete Column-->
<ng-container matColumnDef="delete">
<th mat-header-cell *matHeaderCellDef> Smazat </th>
<td mat-cell *matCellDef="let element"> {{element.symbol}} </td>
</ng-container>-->
</ng-container>
 
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
......
......@@ -13,7 +13,7 @@ export class FileHistoryComponent implements OnInit {
@ViewChild(MatPaginator, { static: true })
paginator: MatPaginator;
dataSource: MatTableDataSource<File>;
displayedColumns: string[] = ['position', 'name'];
displayedColumns: string[] = ['position', 'name', 'delete'];
 
ngOnInit() {
this.dataSource.paginator = this.paginator;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment