When you have a dynamic request (XHR) on expanding a tree table row, does anyone know how to get the no data template to show up under the parent row? I'm setting hasData to false which should trigger the ng-template. Is that template not for drill downs?
Code: Select all
<ng-template *ngIf="!hasData" pTemplate="emptymessage" let-columns>
<tr>
<td [attr.colspan]="cols.length">
No records found
</td>
</tr>
</ng-template>