Overview
The OEE Downtime Table component provides a method for setting column widths through the use of configureHeaderStyle extension function. Purpose of this feature is to force the columns in the downtime table to be a set size. By default, column size gets reset every time the downtime table is initialized. In this example, 3 column widths are set.
Applies To and Version Info
This feature applies to OEE 3.0 module
Details
Add the following script to configureHeaderStyle extension function.
Code |
#Set same width for Begin and End columns.
if colName=='Begin':
self.getTable().setColumnWidth(colIndex, 180)
if colName=='End':
self.getTable().setColumnWidth(colIndex, 180)
#Set Equipment Path column to be wider.
if colName=='Equipment Path':
self.getTable().setColumnWidth(colIndex, 255)
return { 'toolTipText': colName } |

Result
Example: The widths of Begin and End columns are same and that the Original Equipment Path column is wider.
