Custom Nodes

You can customize the content of the TreeView nodes using the formatItem event. The event handler parameters include the element that represents the node and the data item being rendered. The example below uses the formatItem event to add a "new" badge to the right of new items on the tree.