In grid DataWindow objects, you can specify:
-
When grid lines are displayed
-
How users can interact with the DataWindow object at runtime
To specify basic grid DataWindow object properties
-
Position the mouse pointer on the background in a grid DataWindow object, display the pop-up menu, and select Properties.
-
Select the options you want in the Grid section on the General page in the Properties view as described in the following table.
Option
Result
On
Grid lines always display
Off
Grid lines never display (users cannot resize columns at runtime)
Display Only
Grid lines display only when the DataWindow object displays online
Print Only
Grid lines display only when the contents of the DataWindow object are printed
Column Moving
Columns can be moved at runtime
Mouse Selection
Data can be selected at runtime (and, for example, copied to the clipboard)
Row Resize
Rows can be resized at runtime
Width.AutoSize
The AutoWidth property takes one of these numeric values:
-
0 - No AutoWidth: This is the default value.
-
1 - AutoWidth is computed for visible rows (monotonic) and does not decrease when the widest column is reduced when scrolling.
-
2 - AutoWidth is computed for visible rows (non-monotonic).
-
3 - AutoWidth is computed for all retrieved rows.
You can set the AutoWidth property:
-
In the painter - in the Properties view, select one of the values in the drop-down list for the AutoWidth property.
-
In scripts - set the AutoWidth property to one of the numeric values.
-