Page 1 of 1

New tree table not working

Posted: 14 Jun 2018, 04:03
by sk77
Hello,

I am trying to implement new treetable but I don't see the tree structure.. I just see the parent node, no children

<p-treeTable [value]="dataFiles">
<ng-template pTemplate="body" let-rowNode let-rowData="rowData">
<tr>
<td>
<p-treeTableToggler [rowNode]="rowNode"></p-treeTableToggler>
{{rowData.name}}
</td>
<td>{{rowData.size}}</td>
<td>{{rowData.type}}</td>
</tr>
</ng-template>
</p-treeTable>

please see the image below
https://imgur.com/a/uY1KZng

Thanks
SK

Re: New tree table not working

Posted: 14 Jun 2018, 23:35
by cagatay.civici
A stackblitz template could help as it is not easy for us to view your issue.

Re: New tree table not working

Posted: 15 Jun 2018, 14:51
by tanago
did you find a fix? I can't get it to work

Re: New tree table not working

Posted: 19 Jun 2018, 18:11
by pazout
not working for me, too. please advice.

Re: New tree table not working

Posted: 23 Jun 2018, 05:37
by sk77
sorry.. I did not check this thread and notifications weren't sent if someone responds to this thread.. got it fixed.. had to install primeicons along with primeng.. did not know about it