M
mrrrk
Hi
Looking for a bit of advice here.
I'm building an application that needs to display a grid (days in a year
or month along the top and people down the side) in which each cell is a
user control. The number of rows and columns are both variable.
I've contemplated and partially tried various ways to tackle this, e.g.:
- DataGrid (need to define columns, styles? - not got that far)
- DataGridView (ditto - better / easier than DataGrid?)
- Adding controls to a scrollable panel (possible issues with running
out of window handles with large grid)
I did also try doing this by rendering a large bitmap - this ran fairly
nicely when it worked but I kept getting OutOfMemory exceptions and I
would have to sacrifice a lot of flexibility and interactivity.
As you can see I have a few ideas and I was wondering if anyone out
there had any suggestions, alternatives or hints on what best practice
might be with this sort of thing?
Thanks in advance
Looking for a bit of advice here.
I'm building an application that needs to display a grid (days in a year
or month along the top and people down the side) in which each cell is a
user control. The number of rows and columns are both variable.
I've contemplated and partially tried various ways to tackle this, e.g.:
- DataGrid (need to define columns, styles? - not got that far)
- DataGridView (ditto - better / easier than DataGrid?)
- Adding controls to a scrollable panel (possible issues with running
out of window handles with large grid)
I did also try doing this by rendering a large bitmap - this ran fairly
nicely when it worked but I kept getting OutOfMemory exceptions and I
would have to sacrifice a lot of flexibility and interactivity.
As you can see I have a few ideas and I was wondering if anyone out
there had any suggestions, alternatives or hints on what best practice
might be with this sort of thing?
Thanks in advance