PC Review


Reply
Thread Tools Rate Thread

DataGrid inside a TreeView

 
 
osmarjunior
Guest
Posts: n/a
 
      16th Jan 2006
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.

 
Reply With Quote
 
 
 
 
Michael C
Guest
Posts: n/a
 
      16th Jan 2006
"osmarjunior" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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


 
Reply With Quote
 
 
 
 
osmarjunior
Guest
Posts: n/a
 
      16th Jan 2006

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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recreate a >>C# WinForms<< TreeView "state" -after- treeview rebuild ?? Any TreeView GODS out there ?? frostbb Microsoft C# .NET 6 18th Aug 2008 05:08 PM
Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl Andy Eshtry Microsoft ASP .NET 0 2nd Mar 2004 12:48 AM
Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl Andy Eshtry Microsoft Dot NET 0 2nd Mar 2004 12:47 AM
Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl Andy Eshtry Microsoft C# .NET 0 2nd Mar 2004 12:47 AM
Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl Andy Eshtry Microsoft VB .NET 0 2nd Mar 2004 12:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:37 AM.