We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

TreeNavigator SelectedItem

Hi I'm using the SfTreeNavigator control with a HierarchicalDataTemplate.
If I try to set the selected item with the SelectedItem property, it works on the first level only.
Selecting an item in a lower level doesn't select anything.

XAML:
<sfnavigation:SfTreeNavigator 
     ItemsSource="{Binding RootFolder.Models}"                                           
     SelectedItem="{Binding SelectedItem, Mode=TwoWay}"       
     ....>      
    <sfnavigation:SfTreeNavigator.ItemTemplate>
         <sfprimitives:HierarchicalDataTemplate ItemsSource="{Binding Path=Models}">
          ....

Maybe selecting an item of a lower level is not supported? 

Thanks

1 Reply

VV Vignesh V Syncfusion Team October 25, 2013 07:36 AM UTC

Hi Leon,

We are unable to reproduce the reported issue 'Selecting an item in a lower level doesn't select anything'. We have attached sample project in which we tried to reproduce the problem.

Please find the sample in below link,

Please provide us more information on which version you are facing this issue or modify the sample to reproduce the same. So that it will be helpful for us to analyze and provide you accurate solution.

Please let us know if you have any queries,

Regards,
Vignesh V

Loader.
Live Chat Icon For mobile
Up arrow icon