How to Specify Column Widths in Pixels for a Basic Table in Mail & Deploy?

How to Specify Column Widths in Pixels for a Basic Table in Mail & Deploy?

Issue: You need to define specific column widths in pixels for a basic table in Mail & Deploy. The table has 5 columns, each requiring a different pixel width, but you are unsure of the correct syntax to use.

Solution:

To specify column widths in pixels for a table, use the following syntax:

Syntax:
CreateList(<value1>, <value2>, <value3>, <value4>, <value5>)
  • Replace <value1>, <value2>, etc., with the pixel widths for each column, in order.

Example:
If you have 5 columns with the following pixel widths:
  • Column 1: 120 pixels
  • Column 2: 100 pixels
  • Column 3: 50 pixels
  • Column 4: 50 pixels
  • Column 5: 50 pixels
The correct syntax is:
CreateList(120, 100, 50, 50, 50)

Steps:
  1. Enter the Pixel Values:
    • Use the CreateList function in the desired configuration or scripting area within Mail & Deploy.
  2. Apply the List:
    • Assign the list to the appropriate table property that controls column widths.
  3. Test the Configuration:
    • Generate a preview of the table to ensure the column widths are correctly applied.

Notes:
  • The values in CreateList must match the number of columns in your table.
  • Ensure that the total width of all columns fits within the page or report layout to avoid clipping.

By using the CreateList function, you can define specific pixel widths for your table columns and customize the layout of your report effectively.