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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Programmatically select item

Thread ID:

Created:

Updated:

Platform:

Replies:

121908 Feb 6,2016 07:55 PM UTC Feb 9,2016 04:31 AM UTC WinRT 3
loading
Tags: SfTreeNavigator
Stergios
Asked On February 6, 2016 07:55 PM UTC

Hello,

Programmatically selecting an item of a TreeNvaigator control does not have any effect (I expect the item state to turn to selected and brought into view).

I attach a sample that shows the issue.

Kind Regards,

Stergios

Attachment: SfTreeViewNavigatorSample_65dbd68d.zip

Sugapriya Mariappan [Syncfusion]
Replied On February 8, 2016 12:57 PM UTC

Hi Stergios,

Thank you for contacting Syncfusion Support.

We have checked your sample by selecting items at runtime using Select method. As per the behavior of TreeNavigator control, it moves level by level to bring the SelectedItem into view. Items will be generated once the Parent container item loaded. So we couldn't select the third level item directly.  To select the item from third level, control should navigate to first and second level one by one. So click the button twice to get the third level as SelectedItem in this sample and you can download the modified sample from the below link

Sample link:SfTreeViewNavigatorSample

Please let us know if you need any other assistance.

Regards,
M.Sugapriya 

Stergios
Replied On February 8, 2016 08:42 PM UTC

Thanks for that. I can understand the logic now.

Kind Regards,

Stergios

Sugapriya Mariappan [Syncfusion]
Replied On February 9, 2016 04:31 AM UTC

Hi Stergios,

Thank you for your update

Please let us know if you need any other assistance

Regards,
M.Sugapriya

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;