|
-
Jul 4th, 2005, 06:25 PM
#1
Thread Starter
Junior Member
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....
-
Jul 4th, 2005, 06:51 PM
#2
Retired VBF Adm1nistrator
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]
-
Jul 5th, 2005, 04:20 PM
#3
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|