These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Merging Columns in a Table Row

svsatishkumar
Registered: Nov 21 2007
Posts: 25
Answered

Hi All,

I need to merge the Columns of a table using script during runtime.
Is that possible.

Regards,
S.V.Satish Kumar

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
What do you mean by merge Columns? You can't physically merge the subforms and form fields that make up the column, but you can merge the data from one form field into another.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

svsatishkumar
Registered: Nov 21 2007
Posts: 25
I need to show a table with header for each set of identical row.s0 i planned to merge the columns of the row to appear aas a header.

I am not clear with this line "but you can merge the data from one form field into another".

Regards,
S.V.Satish kumar
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
I think I know what you mean. You want to merge cells in LiveCycle Designer, like you would with a table in a Word file. To do this select the table cells and then look on the "Table" menu. There is an option for merging cells.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

svsatishkumar
Registered: Nov 21 2007
Posts: 25
can this be done using script
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
No it cannot, it is a "design time" only thing. At runtime, form fields and subforms cannot be split and merged.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script