This is a migrated thread and some comments may be shown as answers.

ItemHeight property

5 Answers 314 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 2
Adam asked on 05 Jun 2008, 11:11 AM
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

Sort by
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
Boyko Markov
Telerik team
answered on 06 Jun 2008, 07:24 AM
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
0
Stefan
Telerik team
answered on 21 Mar 2011, 10:17 AM
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
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
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Nov 2017, 01:08 PM
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
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.
Tags
Treeview
Asked by
Adam
Top achievements
Rank 2
Answers by
Adam
Top achievements
Rank 2
Boyko Markov
Telerik team
Stefan
Telerik team
Dave
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or