<syncfusion:TreeViewAdv ItemsSource="{Binding TreeItems}">
<syncfusion:TreeViewAdv.ItemTemplate>
<HierarchicalDataTemplate ItemsSource="{Binding SubItems}">
<syncfusion:TreeViewItemAdv Header="{Binding Header}"/>
</HierarchicalDataTemplate>
</syncfusion:TreeViewAdv.ItemTemplate>
</syncfusion:TreeViewAdv>
Using the example form the docs if I use TreeViewItemAdv instead of TextBlock within the HierarchicalDataTemplate clicking on the item causes exception.
If the TreeViewItemAdv cannot be used inside the HierarchicalDataTemplate is there any other method to use it for binding to an object.
Using 18.1.0.48
Thanks.