Grid.ColumnMove

Description

Whether the user can rearrange columns by dragging.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Grid.ColumnMove

Describe and Modify argument:

"DataWindow.Grid.ColumnMove { = value } "

Parameter

Description

value

Whether the user can rearrange columns.

Values are:

  • Yes – The user can drag columns.

  • No – The user cannot drag columns.

Usage


In the painter

Select the DataWindow object by deselecting all controls; then set the value in the Properties view, General tab, Grid group, Column Moving check box (available when the presentation style is Grid, Crosstab, or TreeView with the Grid Style option selected).

Examples

Example 1

string setting

setting = dw1.Object.DataWindow.Grid.ColumnMove

dw1.Object.DataWindow.Grid.ColumnMove = No

Example 2

setting = dw1.Describe("DataWindow.Grid.ColumnMove")

dw1.Modify("DataWindow.Grid.ColumnMove=No")