Hi
I am trying to set the focus on a node that is scrolled into view , for some reason the node never gets to achieve focus the tree is scrolled though to get the item into view...
Is there a way I can achieve that, because we have this Find feature available on the tree that requires to show a particular tree node....?
Thanks
Hello,
Following up - please let me know if you need any further assistance.
Thank you,Sam
The node has to be selected before it's brought into view, and the selected node; by default; is highlighted, unless you have a different scenario. If so, please provide a code a sample so we can test and see the behavior.
Ok, we have a find feature that searches the tree( based on some value in the tag of the node that I store while creating the tree) so nodes that are found based on the search criteria are scrolled into view using the:
xamWebTree1.ScrollItemIntoView(found);
When I tried to set the found.focus() , the node is not highlighted?
Is there a way where i can highlight the node that is found, also adding to the selected nodes list is not an option i am looking forward to.
Hi,
Could you provide more details or the code which you are using to set the focus?
Thanks,