Problem hiding a table column

409 views
Skip to first unread message

Amal Elaine

unread,
Jun 9, 2009, 9:10:21 AM6/9/09
to live...@groups.google.com
I can't seem to get a table column that contains a radio button to hide at run time using javascript.  The table column contains a radio button, which gets wrapped in a subform when you try to put a radio field in a table cell.... I've tried every combination of hiding the headerRow column and the data column, using references to the radio field, the radio group, the radio subform, etc... and nothing seems to accomplish the desired results.


The table is simple:  radio button, customer name, date of birth.  During testing I was able to hide the customer name column and the DOB column, but no combination of script would produce the proper results to hide the column with the radio button in it.

I've added a sample form to the files section of this group, called HideTableColumn.xdp.  Uncomment sections in the initForm() method of the formScript object to see working examples.

Thanks for looking,
Elaine


--
Amal Elaine Photography
http://www.pbase.com/amal007

Falor, Brian

unread,
Jun 9, 2009, 10:38:15 AM6/9/09
to live...@googlegroups.com
Are you running your script at "Client" or "Server"?
 

Brian Falor
GES Intellikit Developer
GES Exposition Services
7050 Lindell Road
Las Vegas, NV 89118
USA

702.515.5986 Phone
702.515.5953 Fax
bfa...@ges.com | http://www.ges.com

GES Worldwide Network
USA | UK | Canada | UAE

The information contained in this correspondence and in the attachments is confidential and intended for the exclusive use of the individuals named above. Unauthorized reproduction and/or distribution is prohibited.

 


From: live...@googlegroups.com [mailto:live...@googlegroups.com] On Behalf Of Amal Elaine
Sent: Tuesday, June 09, 2009 6:10 AM
To: live...@groups.google.com
Subject: Problem hiding a table column


CONFIDENTIAL NOTICE: This e-mail transmission (and the attachments, if any, accompanying it) may contain confidential information. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any forwarding, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission.

Amal Elaine

unread,
Jun 9, 2009, 10:58:38 AM6/9/09
to live...@googlegroups.com
 Paul G from the forums nailed the problem, see here:  http://forums.adobe.com/message/2024965
 
apparently you also have to reset the table container with the proper column widths (2 instead of 3, for example, if you are hiding a column).  I never would have figured that out....

Reply all
Reply to author
Forward
0 new messages