|
-
Dec 13th, 2009, 07:54 PM
#1
Adding columns to TreeView Nodes
I'd hate to have to create my own control, but will attempt to if it comes to it.
I need to display columns within a TreeView node so I can display specific information about that item within columns.
Think of a ListView as a TreeNode. That's basically what I'm trying to get at.
I'm hoping for a relatively easy solution, but I can't imagine this would be too easy.
Any information would be helpful.
Thanks
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
Dec 13th, 2009, 09:48 PM
#2
Re: Adding columns to TreeView Nodes
I would strongly suggest that you do as Windows Explorer does and simply use two separate controls: a TreeView and a ListView. When the user selects a node in the tree you display the corresponding data in the ListView. What you're asking for would be rather difficult I think and I can't imagine it presenting a pleasant interface to the user. The TreeView/ListView combo is something that's familiar to every Windows user so that's a good UI design.
-
Dec 13th, 2009, 09:55 PM
#3
Re: Adding columns to TreeView Nodes
That's probably a plausible solution. I've seen many controls like that.
I wanted the ListView within the Child Node so I could display an item in a Node. Then I would display sub items in child nodes and provide additional information about those subitems in the "ListView."
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
Dec 14th, 2009, 12:16 AM
#4
Re: Adding columns to TreeView Nodes
Once I use a fixed font in the treeview control to simulate columns
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|