Hi,
In XamTree(2012) is it possible to use different item templates for nodes at the same level?
In my tree I have an undefined number of levels. I need to associate different item templates based on the type of the data bound to the current item;it would be nice to have something like a template selector. Is XamTree capable of that?
Thank you,
Ernest
Hello Ernest,
After looking into this and doing some research, XamDataTree ItemTemplateSelector 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.
Thank you for contacting Infragistics.
Hi Stefan,
I will do make that suggestion in "Product Idea" site, but right now I have a task that requires me to implement a new feature.
For this new feature I need a control that behaves similar to a tree, that allows:
Is there any control in Infragistics libraries for Silverlight that allows me to implement this new feature? Maybe XamDataTree ?
The XamDataTree has part of the features you want. Here you can see how to nest nodes to any arbitrary depth:
http://es.infragistics.com/products/silverlight/sample/data-tree/#/handling-large-data-sets
Here you can see how to create an EditTemplate:
http://es.infragistics.com/products/silverlight/sample/data-tree/#/defining-editor-template
For the template Selectors both for EditorTempalte and ItemTemplate I can suggest you log a product idea. Also I can say that you can use the XamDataTree’s ScrollNodeIntoView in order to bring a Node into view.
Hope this helps you.