In the PowerBuilder Classic DataWindow and PowerBuilder .NET WPF DataWindow, the AutoWidth property allows you to choose the option to automatically compute the width of a column in a grid style DataWindow.
Applies to
Columns in grid style DataWindows
Usage
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.