I have a xamdatatree built into a popup control that launches from a parent grid.
If I select a node at the 'bottom' of the popup for the tree, the node expands, and the scrollbar on the popup/tree shows that there is more data below, but the tree itself does not scroll the expanded node into view.
Are there any exposed properties in the xamdatatree that allow you to 'scrollintoview' like you would in the xamdatagrid or other controls?
Or has anyone constructed anything with the xamdatatree control that would allow you to do this?
Thanks.
Hello izzyschwatz,
XamDataTree support scrolling by itself, when nodes are not visible and when you drag down the tree or up, those nodes come into view. On the other hand there is a public method ScrollNodeIntoView(XamDataTreeNode node) which you can use to scroll to the desired location. Let me know if that is answering your question!
Regards,
Nikola
Hi Nikola,
Thank you for the response, and it helps to know that such a method does indeed exist.
The problem though, is that it's not the node itself that needs to be scrolled into view. The node is shown, and the user is selecting it.
When they select it and 'expand' the node sub tree, I need to have the tree scroll the entire sub tree into view.
Right now, even with the ScrollNodeIntoView method, when you expand the tree, it does nothing but show the change in the scroll bar, and the expanded sub tree is sitting off the bottom of the screen.
I need to be able to have the user select the node, force the node to expand, and then have the entire sub tree scroll up into view on the screen.
Thanks again.
Hello,
Currently there isn't such functionality buil-in the XamDataTree and "Scroll SubTree into view" has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
There are many benefits to submitting an product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
was this ever solved i need to programatically scroll my entire sub tree intoview
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Thank you for your post. Could you please attach a sample project, steps to reproduce and be more specific of the expected result, so I can investigate your issue further for you.
Looking forward for your reply.