Returns a two-dimensional array, the columns of which are QueryName and FieldName.

Syntax

<oRef>.getColumnOrder( )

<oRef>

The name of the Grid object

Property of

Grid

Description

When the allowColumnMoving property is set to it's default setting, true, the user is able to rearrange columns in a grid by clicking and dragging the column headings. Using the getColumnOrder( ) method, the new array values can be saved using the form’s onClose event and subsequently restored using the form’s onOpen event.