Grid.SetColumnHiding

Grid.SetColumnHiding (

string ObjectName,

boolean AllowHiding = true )

Description

Sets whether or not columns can be contracted to 0 width by the user with the mouse in a grid object.

Parameters

ObjectName

(string) The name of the grid object.

AllowHiding

(boolean) Whether columns can be hidden. This is an optional argument and if omitted will default to true.

VALUE

DESCRIPTION

true

Columns can be hidden. (Default)

false

Columns cannot be hidden.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions