Results 1 to 5 of 5

Thread: How do I...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Posts
    416

    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?

  2. #2
    Member Ooogaleee's Avatar
    Join Date
    Nov 2002
    Location
    Jacksonville, FL
    Posts
    52
    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

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    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.

  4. #4
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    use flow layout.
    Dont gain the world and lose your soul

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Posts
    416
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width