Demos
Documentation
API
More Samples
Download Wijmo

Heterogeneous Data

In most TreeView applications, the displayMemberPath and childItemsPath properties are set to strings that define the name of the property that should be displayed on the nodes and the name of the property that contains child items (the default values for these properties are 'header' and 'items').

In some applications, however, the names of these binding properties depends on the hierarchical level of the data. In these cases, you can use an array of names for either property.

The tree below is bound to a list of 'continent' items, each with a 'countries' member that contains a list of 'country' items with a 'cities' member: