July 2017
Intermediate to advanced
384 pages
8h 23m
English
The TreeTable component also supports various advanced features such as lazy loading using the onNodeExpand callback, customized editable content using the ng-template template tag, and also context menu implementation, which is similar to the DataTable component. It also supports facets for header and footer using p-header and p-footer tags.
The content display of TreeTable is customized using ng-template. By default, the label of a tree node is displayed inside a tree node. To customize the content, define ng-template inside the column that gets the column as implicit variable (let-col) and rowData as the node instance (let-node="rowData"). In the same way, we can customize header and footer of this ...
Read now
Unlock full access