Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Overflow headers - positions lost on next header

Avatar

Level 1

Hi All,

 

I am working with the Adobe Lifecycle Designer and are using the Subforms for printing out tables.

The Header is in a separat Subform that is of the type "positioned".

 

This is connected to the Subform as "overflow" where the Lines of the table are looped.

The content of the table is dynamic - so I don't know how many colums there will be before print.

 

To active this I am using the javascript like this :
this.w = "10mm"; for the columns with data in - and this.w = "0.00mm" to hide the empty columns. And the postition with this.x = "xxmm";

 

Most of the logic works on the first page - but My problem is the "overflow header".

 

The header section on the FIRST page works nicely - but the overflow isn't printing in the correctly position - I tought that I could control the position with the "this.x" ?

 

Anyone that have the same issue - or even better - HOW can I make a overflow header that should works with dynamiclly content, width & position ?

 

thanks !

Lars

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Correct answer by
Community Advisor
columnWidths property helps to set the width of the column dynamically.

 

https://help.adobe.com/en_US/livecycle/10.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d2...

Avatar

Administrator

@larsb57748614 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni