I can't seem to recreate the treeview example that shows a layout having nodes with different ItemHeight values. The RadTreeView seems to only respect the ItemHeight that is set at on the treeview itself and not the values of the child nodes. Is there a flag some where to respect the different nodes property values?
5 Answers, 1 is accepted
0

Adam
Top achievements
Rank 2
answered on 05 Jun 2008, 03:01 PM
I figured it out. Finally came across the "AllowArbitraryItemHeight" property on the treeview.
0
Hi Adam,
Thank you for contacting us.
I'm glad to hear you solved the issue on your own.
Please do not hesitate to write us if you need further information about using RadTreeView for WinForms.
Sincerely yours,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for contacting us.
I'm glad to hear you solved the issue on your own.
Please do not hesitate to write us if you need further information about using RadTreeView for WinForms.
Sincerely yours,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Hi Adam,
Please note that in Q1 2011 we have introduced a major upgrade of RadTreeView control, which is now virtualized and fully customizable. Feel free to download the latest release and try it out. For more information on our latest release refer to this blog post.
Kind regards,
Stefan
the Telerik team
Please note that in Q1 2011 we have introduced a major upgrade of RadTreeView control, which is now virtualized and fully customizable. Feel free to download the latest release and try it out. For more information on our latest release refer to this blog post.
Kind regards,
Stefan
the Telerik team
0

Dave
Top achievements
Rank 1
answered on 23 Nov 2017, 07:30 PM
For others that might run into this, make sure AutoSizeItems is set to false.
0
Hello, Dave,
Thank you for writing.
The AllowArbitraryItemHeight property indicates whether nodes can have different height. In addition, the TreeViewElement.AutoSizeItems specifies whether the nodes will be sized according to the required size. The Demo application >>TreeView >> Custom Nodes example demonstrates how to autosize the custom items and thus display the whole content. In this case, the AutoSizeItems is set to true.
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Progress Telerik
Thank you for writing.
The AllowArbitraryItemHeight property indicates whether nodes can have different height. In addition, the TreeViewElement.AutoSizeItems specifies whether the nodes will be sized according to the required size. The Demo application >>TreeView >> Custom Nodes example demonstrates how to autosize the custom items and thus display the whole content. In this case, the AutoSizeItems is set to true.
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.