I have a multilevel tree view, where only the lowest level has really interesting information. I'd like to show only the headers for the lowest level, and I'd like to show them at the top of the tree (and ideally, not scrolling). Is there any way to do that?
Thanks, Aaron
Hi Aaron,
I was just wondering if the following links helped or if you had any other questions regarding this issue?
Thanks
Yes you can programmatically sort the tree here are some links to help you with that:
http://community.infragistics.com/forums/p/12968/48162.aspx#48162
http://help.infragistics.com/NetAdvantage/WinForms/2010.1/CLR2.0/?page=infragistics2.Win.UltraWinTree.v10.1~Infragistics.Win.UltraWinTree.UltraTreeNodeColumn~AllowSorting.html
http://help.infragistics.com/NetAdvantage/WinForms/2010.1/CLR2.0/?page=WinTree_Sort_Columns_in_WinTree.html
http://help.infragistics.com/NetAdvantage/WinForms/2010.1/CLR2.0/?page=infragistics2.Win.UltraWinTree.v10.1~Infragistics.Win.UltraWinTree.UltraTreeColumnSettings~AllowSorting.html
http://community.infragistics.com/forums/p/1923/225057.aspx#225057
I hope these help.
Thank you for following up. Using WinGrid isn't really an option at this point, and I haven't had a chance to play with any of the other approaches you've suggested yet (and I'm not likely to in the next few weeks).
If I were to synthesize my own header, I assume that I can programmatically resize the columns, change the sort order, etc?
I am just following up on this issue.
Does the information above help?
Thanks for getting back to me with some more information. Now i can see what you are trying to achieve.
The wintree does not have any built in functionality to do this. I suggest you try using the Wingrid with Grouping. WinGrid will allow you to fix the header and you can also have more control of the layout using RowLayouts. Here is some links to the winGrid if you want to have a look:
http://help.infragistics.com/NetAdvantage/WinForms/2010.1/CLR2.0/?page=WinGrid.html
http://help.infragistics.com/NetAdvantage/WinForms/2010.1/CLR2.0/?page=WinGrid_Control_the_Placement_of_Headers.html
http://help.infragistics.com/NetAdvantage/WinForms/2010.1/CLR2.0/?page=WinGrid_Row_Layouts.html
If you really want to do this using the WinTree it won’t be easy but there are a couple of things you could manually try doing.
You could add 3 labels on top of theWinTree align them to sit on the WinTree correctly. You can also consider using Creation or Draw filters.
I also found the following post for repositioning nodes:
http://community.infragistics.com/forums/p/30943/170499.aspx#170499