|
-
Mar 10th, 2006, 09:35 PM
#1
Thread Starter
New Member
DataGridView Custom Column Panel/Container?
I was wanting to use the datagridview for a table, but the built in columns do not help. I am wanting to create a column/cell type of panels, or some other container. The reason for this is so that I can house different & multiple elements in one cell. I can't seem to create a custom column like this. I don't know if I am doing something wrong or if panels is not a valid type for a cell/column. Please help if you have any ideas. Thanks
-
Mar 11th, 2006, 01:22 AM
#2
Re: DataGridView Custom Column Panel/Container?
Each cell in a grid is supposed to contain a single value. I could be wrong but I very much doubt that you can do what you want. You should create a column for each of the elements rather than placing multiple elements in one column. You may like to check out the DataRepeater in the WFC library in my signature. Maybe that would be more suitable for your purposes. It was created for .NET 1.1 so I'm not sure it will work in 2.0, but some of those comtrols do work so you could give it a try. There is also a 2.0 version on the way, although I'm not sure when it will be available.
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
|