Enabling Separate Headings and Separate First Column Properties in DIAdem Tables Using Script

Updated Oct 2, 2024

Environment

Software

  • DIAdem

In DIAdem, tables can display data more effectively when you use the Separate Headings and Separate First Column properties. This guide will show you how to enable these properties using DIAdem scripting, with examples in both VBScript and Python.
 

  1. You can use this property to enable Separate Headings and Separate First Column property of a Table using DIAdem script. There are examples in both VBScript and Python that you can refer to on using this property.
image.png
image (1).png
  1. Create a New Python Script in DIAdem.​​​
image (2).png
  1. Copy this example code into your newly created Python script.
  2. Modified the example as highlighted below, Changing the oMySettings.UseXDoubleLine = True and oMySettings.UseYDoubleLine = True, by setting these properties to True, you enable the Separate Headings and Separate First Column features.
image (3).png
  1. After making the necessary modifications, run your script to see the changes take effect in your table. You should notice that the headings and the first column now stand out, improving the overall clarity of your table data.

Result Before:
2024-10-02_16h56_38.png

Result After:
2024-10-02_16h56_06.png