Results 1 to 3 of 3

Thread: Table collapse question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2005
    Location
    dallas,texasd
    Posts
    26

    Table collapse question

    Hello,

    I have one tableA that has three tables B,C,D nested inside of it.

    Tables B,C,D are server controls: Table D is an options table and not all of the products have options that are in this option table (Table D).

    *My question here is how can i make the parent table (TableA) Collapse when tableD is .Visible=False? When the table is not visiable i woule like for the tableA to collapse so that there is no empty space (Where tableD was at.)

    Here is the little snippit that i use to make the table . Visible = False,

    If ddlMetroSelectFauxColor.Visible = True Then
    tblDOptions.Visible = False
    End If

    Thank YOU....

    Erik....

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359

    Re: Table collapse question

    Well you could conditionally layout the table in HTML on the design side depending on if the data is present or not
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Re: Table collapse question

    you could also not set a height and allow the table to expand/collapse as need be all on it's own..... tables are cool like that

    that's all heights for any rows or cells that need to expand and collapse as well
    Magiaus

    If I helped give me some points.

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