By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,919 Members | 1,848 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,919 IT Pros & Developers. It's quick & easy.

Grid Like Display for Controls

P: n/a
Tom
I need to display a series of controls (in my case, a custom control) in a
grid-like fashion. This means this particular control would be repeated
multiple times, arranged in a row/column format. It would also support
scrolling, and fixed/scrollable headers/footers. Basically just like a grid
control, but has the capability to use a custom control for each cell.

I don't think the grid control (nor the True DB Grid .NET control that we
use) supports putting other (custom) controls into the cell (and then
allowing the user to use that control). I've tried a series of panels,
etc.... but I run into problems with scrolling of the headers/footers, etc.

Just wondering if someone else has also had this problem, or if anyone know
of a grid control that supports this. Thanks for any info.

Tom
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Bob
Parent your controls into the grid and have them track the cells they're
supposed to be in. Move them on scroll, resize them on row/column size
changes, etc. It's not that difficult, at least I've had no problems doing
it with C1's FlexGrid. You can prevent headers and footers from moving by
either not having them pareted in the grid in the first place or having them
follow the rectangles of cells in 'fixed' rows/columns.

You may also want to examine the possibility of manually painting what you
need the user to see in the grid cells and just handling clicks and other
events right there, especially if you're going to have a lot of rows and
columns.

HTH,
Bob

"Tom" <to*@nospam.com> wrote in message
news:ON****************@tk2msftngp13.phx.gbl...
I need to display a series of controls (in my case, a custom control) in a
grid-like fashion. This means this particular control would be repeated
multiple times, arranged in a row/column format. It would also support
scrolling, and fixed/scrollable headers/footers. Basically just like a grid control, but has the capability to use a custom control for each cell.

I don't think the grid control (nor the True DB Grid .NET control that we
use) supports putting other (custom) controls into the cell (and then
allowing the user to use that control). I've tried a series of panels,
etc.... but I run into problems with scrolling of the headers/footers, etc.
Just wondering if someone else has also had this problem, or if anyone know of a grid control that supports this. Thanks for any info.

Tom

Nov 21 '05 #2

P: n/a
Hi,

http://dotnet.leadit.be/extendeddata...?category=Home

Ken
-----------------
"Tom" <to*@nospam.com> wrote in message
news:ON****************@tk2msftngp13.phx.gbl...
I need to display a series of controls (in my case, a custom control) in a
grid-like fashion. This means this particular control would be repeated
multiple times, arranged in a row/column format. It would also support
scrolling, and fixed/scrollable headers/footers. Basically just like a grid
control, but has the capability to use a custom control for each cell.

I don't think the grid control (nor the True DB Grid .NET control that we
use) supports putting other (custom) controls into the cell (and then
allowing the user to use that control). I've tried a series of panels,
etc.... but I run into problems with scrolling of the headers/footers, etc.

Just wondering if someone else has also had this problem, or if anyone know
of a grid control that supports this. Thanks for any info.

Tom

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.