Columns in tree view

23 posts, 1 answers
  1. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 12 Aug 2009 Link to this post

    Hello,

    Im trying to create a tree view where each node has several columns like First name, Last name, email. However I would like them to be displayed like columns and share the size.

    Is this possible ?


  2. Answer
    Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 13 Aug 2009 Link to this post

    Hello Roland,

    A tree view with columns is generally called a tree list control. Unfortunately we have already planned other tasks with higher priority so I cannot give you a specific time frame about when such a control will be available. In the mean time any suggestions or feature requests that you might have about a tree list control are most welcome.

    Kind regards,
    Jordan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Joe Aubin
    Joe Aubin avatar
    9 posts
    Member since:
    Sep 2006

    Posted 09 Jul 2010 Link to this post

    Has any additional thought been given to this request? I need/want to do exactly this as well and it is very difficult to try and implement it by hand.
  4. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 13 Jul 2010 Link to this post

    Hello Joe Aubin,

    We haven't received much requests about a tree list control, and as a result this suggestion is with lower priority at the moment. Our Q3 meeting is next week and I will bring this suggestion up again, however chances are slim that it will make it for Q3.

    We will be happy to raise its priority if we get more requests about it.


    Greetings,
    Vassil
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 13 Jul 2010 Link to this post

    Regarding  number of requests. Depending on overall usage of you PITS system, but tree list has 17 requests.
    http://www.telerik.com/support/pits.aspx#/public/aspnet-ajax/not-scheduled

    Button has 26. They are in Unscheduled section where items with < 9 votes were added to Q2. Now the real question is ? Why bother voting if no one takes that into consideration ?

    Also many people dont vote, but sure will use new controls.
  6. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 13 Jul 2010 Link to this post

    Hi Roland,

    Thank you for the insight.

    The PITS was introduced a few months ago and does not take into account the requests that we have logged before it went public. This is the reason for the discrepancy.


    Sincerely yours,
    Vassil
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 13 Jul 2010 Link to this post

    Thanks for the update.

    You have mentioned Q3 meeting. Can you mention RadButton during the meeting ? PITS has all the details and I BET a lot of people will find that VERY USEFULL !
  8. Kristoffer
    Kristoffer avatar
    158 posts
    Member since:
    Dec 2012

    Posted 25 Feb 2013 Link to this post

    Sure would be nice with a Telerik tree list view like this one:
    http://www.codeproject.com/Articles/14741/Advanced-TreeView-for-NET

  9. Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 28 Feb 2013 Link to this post

    Hello Kristoffer,

    Thank you for writing.

    The tree list view is achieved through RadGridView's Self-reference hierarchy. You can read more on this topic in our online documentation - Self-Referencing hierarchy.

    I hope this will be useful. Should you have further questions, I would be glad to help.

    All the best,
    Ivan Petrov
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
  10. Kristoffer
    Kristoffer avatar
    158 posts
    Member since:
    Dec 2012

    Posted 28 Feb 2013 Link to this post

    Thanks, looks great! Does Self-referencing work together with "load on demand"? I.e. If I self-reference parent with ID=123, can I make sure the children of ID=123 are populated when the node is first expanded?
  11. Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 01 Mar 2013 Link to this post

    Hi Kristoffer,

    Thank you for writing back.

    Self-reference grid and load on demand work in different ways and they cannot be combined. You will have to use either one or the other.

    I hope this is informative. Feel free to write back with any further questions.

    Kind regards,
    Ivan Petrov
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Join us for a FREE webinar to see all the new stuff in action.

    Interested, but can’t attend? Register anyway and we’ll send you the recording.
  12. Mike
    Mike avatar
    1 posts
    Member since:
    Aug 2013

    Posted 26 Dec 2013 Link to this post

    What's the current status of this item?  I have the same requirement as the OP in this thread.


  13. Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 27 Dec 2013 Link to this post

    Hello Mike,

    Thank you for writing.

    As there are a couple of questions in this thread here is their current status:
     - a tree list control can be achieved through RadGridView self-referencing hierarchy.
     - load on demand and self-reference cannot work together as they use different internal mechanisms in RadGridView.

    I hope this is informative. Do not hesitate to write back with further questions.

    Regards,
    Ivan Petrov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  14. Tom
    Tom avatar
    6 posts
    Member since:
    Dec 2010

    Posted 21 Jun in reply to Ivan Petrov Link to this post

    Hello Ivan!

    Four years later ... 

    I disagree. The title of this forum is 'columns in treeview' and Jordan from the telerik team explained Roland: "A tree view with columns is generally called a tree list control". IMHO the self-referencing treeview doesn't meet the requirement.

    There is (was?) a multicolumn treelist in ASP / WPF, or ma I wrong?
    I would need it in WinForms.

    Any plans ? Or did I miss something?

    Kind regards,

    Tom

     

  15. Dess
    Admin
    Dess avatar
    2051 posts

    Posted 21 Jun Link to this post

    Hello Tom, 

    Thank you for writing.  

    Currently, Telerik UI for WinForms suite doesn't offer a RadTreeList control.  I have logged it in our feedback portal and I have added a vote for it on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

    I have also updated your Telerik points.

    Currently, the possible solution that I can suggest is to use RadGridView with self-reference hierarchy http://docs.telerik.com/devtools/winforms/gridview/hierarchical-grid/self-referencing-hierarchy

    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 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  16. Bao
    Bao avatar
    37 posts
    Member since:
    Jan 2015

    Posted 12 Jul in reply to Dess Link to this post

    I am working with Gridview self referencing hierarchy, but i want to have the behavior about adding new child as same as add child node in TreeView. Is it possible ?
  17. Hristo
    Admin
    Hristo avatar
    998 posts

    Posted 13 Jul Link to this post

    Hello Bao,

    Thank you for writing.

    RadGridView follows a different model compared to RadTreeView and in order to set up a self-referencing hierarchy, one cannot follow the same approach as with the tree. An example of how the hierarchy can be configured is available in the article my colleague already posted: http://docs.telerik.com/devtools/winforms/gridview/hierarchical-grid/self-referencing-hierarchy.

    I hope this information is useful. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  18. Stefan
    Admin
    Stefan avatar
    2906 posts

    Posted 14 Aug Link to this post

    Hello everyone,

    I would like to ask you guys for more information on why you think there is a need for a separate TreeList control. For quite a while, RadGridView with its self-reference mode successfully fulfills this purpose and a lot of users are using it. Still, I want to make sure we are not missing anything crucial to this scenario.

    Load-on-demand is already known limitation, logged and will be worked on in future.

    Anything else?

    PS. For the time being, until we gather more information on the need for a separate control, we will decline the item in the portal. If need be, it will be reopened.

    Thank you in advance, I will appreciate your input.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  19. Happy
    Happy avatar
    65 posts
    Member since:
    Aug 2008

    Posted 14 Aug in reply to Stefan Link to this post

    How about these reasons:

    1) Just now found this post because I have a working app with a working tree, and I've been asked to add a column, something I thought should have been easy, but your solution requires me to basically rewrite this whole part of the app to use a completely new control that expects the data a different way, renders the data a different way, and the events fired etc, are all different.  All my RadTreeNode code is dead and has to be rewritten.

    2) Your grid (in self ref mode) doesn't really look like the traditional tree people are use to. All I want is to display an extra column and to do that, you're asking me to rip out everything I've got working and start all over again, all because you guys are stubborn and keep kicking the can down the road. 2017 and still no winform treelistview.

    3) I have some objects already stored in memory using a hierarchical and the RadTreeNode also is similar concept. The grid is not.  I already have my code written that knows how to traverse the tree, insert new nodes, move, etc.  Looking at your self referencing grid, looks like I would have to rewrite everything.

    4) I would have to rewrite all the drag drop logic, dealing with multi check select tree, etc

    5) So what if other people are using it?  You are giving them no choice!!!!! The real question to those users is if they HAD the choice to choose between your self referencing  grid and a proper TreeListView control, which would they have chosen then, and we BOTH know the answer to that, most would chose the proper control, the TreeListView.

     

    People want a tree and they also want to show some extra data.

    People do not want a grid pretending to be a tree.

    Why are you so stubborn on this?

  20. Dess
    Admin
    Dess avatar
    2051 posts

    Posted 15 Aug Link to this post

    Hello, 

    Thank you for writing.  

    Your feedback is valuable for us. We will have it in mind when considering implementing such a control in future. Indeed, RadGridView in self-reference hierarchy follows a different model compared to RadTreeView. However, it offers the desired columns in a tree-list hierarchy.

    Currently, an alternative approach that I can suggest is to continue using RadTreeView but use custom nodes to display the additional information that you need in the columns. A sample approach for creating custom nodes is demonstrated in the following help article: http://docs.telerik.com/devtools/winforms/treeview/working-with-nodes/custom-nodes

    You can refer to our Demo application >> TreeView >> Customize >> Custom Nodes example which shows a fully functional example with custom nodes. Feel free to use a similar approach for achieving your custom requirement.

    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 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  21. Stefan
    Admin
    Stefan avatar
    2906 posts

    Posted 15 Aug Link to this post

    Hello Happy,

    I also wanted to thank you for your input on the matter. I can assure you there is no stubbornness here, it is a matter of solving the problems that you guys, our user have. The use case usually is as follows - one would know at the beginning if they need a multi-column tree, and will opt-in for the grid in self-reference mode to solve this requirement. And the grid in this mode, does the job perfectly and we have many users using it. In fact, it is, even more, feature rich in some aspects than the tree control, and this is another reason for its users to be happy. 

    Your case, which is completely valid, starts from another perspective - where you have the tree control in place, and you want to extend it with columns. And yes, this would require you to switch the control. We will definitely consider it, as my colleague indicated.

    Thanks again.

    @Everyone, I will appreciate your feedback on the matter, with more use cases where the grid control does not fulfill the need for a TreeList control.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  22. Happy
    Happy avatar
    65 posts
    Member since:
    Aug 2008

    Posted 18 Aug in reply to Stefan Link to this post

    When I was asked to add the columns, I told him yeah, no problem, all based on my experience with other control libraries and probably me thinking that somewhere in this app surely I've done it also with telerik.  I was stunned when I couldn't see a way to do it.  I just couldn't believe you don't support this.

    Please consider that other control libraries do offer this and I doubt they decided to do the work for nothing and I'm sure they found sufficient use cases to justify adding support for it.  I personally feel like you asking for more and more uses cases is just being stubborn and trying to find a way to keep kicking the can down the road.

    I looked into the custom node idea and that is not going to work.

     

    SyncFusion

    ComponentOne

    DevExpress

    Infragistics

     

    I could turn the question around on you and ask WHY NOT add the feature to the control?  What are the use cases against adding it? 

  23. Stefan
    Admin
    Stefan avatar
    2906 posts

    Posted 21 Aug Link to this post

    Hello Happy,

    I got your point and as I mentioned the use case you pointed out is perfectly valid. We will be gathering more information on the matter to determine whether there is something else, that our current TreeList offering, via RadGridView does not handle.

    Both cases, you would need a solution now, and the only one we could offer right now is the self-reference hierarchy. Should you need assistance building it up, do not hesitate to contact our support folks and they will be happy to assist you in the matter. 

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 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