Print Engine or Print Editor - PDF Table Styling

Hello,

I successfully created a PDF using a print model with the new print engine. During this process, I noticed that some table styling options do not seem to be available.

In particular, I would like to implement the following adjustments:

  • Right-align only specific columns (e.g. columns containing monetary values).

  • Control or remove the padding between the cell content and the border.

  • Format the summary/total row in bold.

Is there a way to apply such customizations afterwards or define these styles directly within the print engine?

Thank you in advance.

Hi @anon55280409

All three adjustments you mentioned are supported using the Listing element from Print Engine:

  • Right-align specific columns: supported via the column’s Custom Text Properties. It allows full configuration of the Text Properties (see Listing Column for details)

  • Control or remove cell padding and format the summary/total row in bold: supported via Property Computations or Row Property Computations (depends on your use cases) with PaddingTop, PaddingBottom, Bold … (see Property Computations for details)

Hope this helps! Please let me know if you have any further questions.

Hi,

thank you, that helps.

I tested the Listing element and the right alignment for a specific column works for the cell values. However, the column header itself is still left-aligned. Is there a way to also configure the alignment of individual column headers?

I also have another question regarding the data binding: my values are located in repeats inside a subgroup of the document. I am not quite sure how to map these repeated values into the Listing columns.

Do you have an example of how to use the Listing element with repeated values from a subgroup?

Best regards

Hi @anon55280409,

for the right aligned column header you can check the “Column has custom text properties” check box inside of a listing column and then select the right alignment in the “Text Properties” section.

Nevertheless I think the listing is not the right element for your use-case if you want to reproduce the behavior of a table element. A listing outputs one row per instance (field/group) and each cell is based on that instance.

So back to your origin request: Unfortunately it is currently not possible to change the alignment for only one specific column. In addition the padding settings and total row settings you requested are not available too.

But we’d be happy to build these features for you.

Can you help us create a support request on the Support Portal?