July 2017
Intermediate to advanced
384 pages
8h 23m
English
The Tree component is used to display a hierarchical representation of data in a graphical format. It provides an array of the TreeNode objects as its value. The TreeNode API provides many properties to create tree node objects. The tree structure has basically three major components as listed here:
A basic example of a Tree component with nodes would be written as follows (the node will represent tourist places):
<p-tree [value]="basicTree"></p-tree>
The data for the Tree component should be provided in a nested parent-child hierarchy. Each tree node is created with ...
Read now
Unlock full access