add caption

This commit is contained in:
Çetin 2021-12-24 16:53:04 +03:00
parent 3040734719
commit 3d2fad43bf

View File

@ -9,6 +9,9 @@
<div class="card">
<h4>TreeTable</h4>
<p-treeTable [value]="files2" [columns]="cols" selectionMode="checkbox" [(selection)]="selectedFiles2">
<ng-template pTemplate="caption">
FileSystem
</ng-template>
<ng-template pTemplate="header" let-columns>
<tr>
<th *ngFor="let col of columns">