New tree table not working

UI Components for Angular
Post Reply
sk77
Posts: 62
Joined: 18 Sep 2016, 18:30

14 Jun 2018, 04:03

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

cagatay.civici
Prime
Posts: 17912
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

14 Jun 2018, 23:35

A stackblitz template could help as it is not easy for us to view your issue.

tanago
Posts: 2
Joined: 30 Mar 2017, 14:43

15 Jun 2018, 14:51

did you find a fix? I can't get it to work

pazout
Posts: 1
Joined: 19 Jun 2018, 18:07

19 Jun 2018, 18:11

not working for me, too. please advice.

sk77
Posts: 62
Joined: 18 Sep 2016, 18:30

23 Jun 2018, 05:37

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

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests