471,350 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

DataGrid inside a TreeView

Hello, I wanna create a control like a TreeView, but with some nodes
with a grid. Is this possible? I think about create a user control, but
maybe there's an easier way, like using the TreeView component itself.

Jan 16 '06 #1
2 4140
"osmarjunior" <os*********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Hello, I wanna create a control like a TreeView, but with some nodes
with a grid. Is this possible? I think about create a user control, but
maybe there's an easier way, like using the TreeView component itself.


Use the Listview and draw the rows yourself. There's an event or override so
you can paint the items but I can't remember what it's called.

Michael
Jan 16 '06 #2

I am having one user control (containing a DataGridView and some
buttons), I want to add this control as a node in a treeview control ,
to be more precise now I want my user control acting a node in the
treeview control instead of treenode .

How should I achieve this?
Michael C wrote:
"osmarjunior" <os*********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Hello, I wanna create a control like a TreeView, but with some nodes
with a grid. Is this possible? I think about create a user control, but
maybe there's an easier way, like using the TreeView component itself.


Use the Listview and draw the rows yourself. There's an event or override so
you can paint the items but I can't remember what it's called.

Michael


Jan 16 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Coder Coder | last post: by
7 posts views Thread by Scott Schluer | last post: by
1 post views Thread by Mikkel Olsen | last post: by
2 posts views Thread by wolfgang wagner | last post: by
3 posts views Thread by hooterbite | last post: by
reply views Thread by hooterbite | last post: by
reply views Thread by AliRezaGoogle | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.