ItemHeight property

6 posts, 0 answers
  1. Adam
    Adam avatar
    89 posts
    Member since:
    Mar 2008

    Posted 05 Jun 2008 Link to this post

    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?
  2. Adam
    Adam avatar
    89 posts
    Member since:
    Mar 2008

    Posted 05 Jun 2008 Link to this post

    I figured it out.  Finally came across the "AllowArbitraryItemHeight" property on the treeview. 
  3. Boyko Markov
    Boyko Markov avatar
    610 posts

    Posted 06 Jun 2008 Link to this post

    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
  4. Stefan
    Stefan avatar
    2906 posts

    Posted 21 Mar 2011 Link to this post

    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,
    the Telerik team
  5. Dave
    Dave avatar
    21 posts
    Member since:
    Jan 2005

    Posted 23 Nov 2017 Link to this post

    For others that might run into this, make sure AutoSizeItems is set to false.
  6. Dess
    Dess avatar
    2421 posts

    Posted 24 Nov 2017 Link to this post

    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.
    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.
Back to Top