preventing data grid collision

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What is the best mechanism/ convention for preventing
stacked datagrids from overlapping each other?

I'd like to do something similar to a "can shrink/can grow" in an Access
report
for an aspx page which displays stacked grids.

For example:
DG_Allergies
DG_Benefits

It's possible for a patient to have 10 allergies, but my grid only has
enough space for 5 before it crashes into the Benefits grid

Of course, making room for 10 when only 1 record is in the grid seems
wasteful of real estate, and the majority of people may only have 2 or 3.
 
Could it be that the answer was so simple that nobody wanted to answer it?
Ok, for the benefit of anyone who needed to know the answer -

If anyone is having this problem -
All you have to do to keep vertically laid out datagrids from crashing into
each other"
No need for scrolling divs,
Flow layout... nothing complex

just put them in a 'Table'!!!!
each cell will automatically expand down, thus preventing the collisions.
 
Back
Top