-
How do I...
Ok, I'm using Grid Layout, and I have a DataGrid control. I don't know how large the DataGrid will be at run-time, because the amount of data is unknown. So if the datagrid is gets big, it topples over all the controls beneath it.... So how do I have the rest of the controls position themselves according to the size of the datagrid.....
Or must I use Flow Layout for this to work?
-
That's a great question actually. I usually end up just making the datagrid the bottom-most control on the page; so I avoid it "running over" other labels and such.
I also am very interested in seeing if there's another way around it...
Ooogs
-
Here is what I would do, just use a table, then put the bottom controls on the bottom cells and the grid in the middle or top (depending on your page layout). Then, no matter the size of the grid, the table will resize itself, and your controls in the bottom cells will move along with it.
-
-
Ya, right after I posted .... I figured the only (or best) way to do it would be to just use Flow layout. .... And I spent so much time setting up my layout with grid layout :(