The Column Width property sets the width for all columns in the data control. A single value will apply to all columns. Multiple values seperated by the "|" symbol will set each column individually.
Property Type: Dynamic
Default Value: No default value is applied to this property
Hierarchical Reference: ControlName.ColumnWidth
Ensure the property is a static property (It will display the gray orb alongside the property name)
The default value of the static property can be changed by typing the required value directly into the property field.
|Column Width Property Value (static)||Result|
|No value set will auto-size each visible column.
DriveWorks Administrator the auto-size will be based on the content of the column cells.
DriveWorks Live the auto-size is set to a pre-defined value of 150px.
|16||Supplying a column width between 1 and 19 (inclusive); will automatically default to the minimum width of 20 for all visible columns.|
|50||Sets all visible columns to 50 wide.|
|50|75|25|50||For all visible columns; will set column 1 to 50, column 2 to 75, column 3 to 25 and column 4 to 50. See Note Below.|
Columns removed from view by the Hidden Fields property will be ignored, when settings multiple values (as in the last example above). This behavior is consistent in DriveWorks Administrator, User and Live.
Prior to DriveWorks 12 Service Pack 2 Hidden Fields were not ignored in DriveWorks Administrator and User.
A rule can also be built for this property by changing the type to dynamic.
|Column Width Property Value (Dynamic)||Result|
|IF(DWFormContainerWidth<250, 25, 40)|
Sets all columns to be 25 when the special variable DWFormContainerWidth is less than 250, otherwise set them to 40.
Value can be controlled by a rule.