Grid.SetListMode

Grid.SetListMode ( 

string  ObjectName,

boolean ListMode )

Description

Sets whether the grid object is in list mode. When the grid object is in list mode, full row selection is enabled and clicking on the column header can sort the grid by rows according to the Grid.GetHeaderSort value.

Parameters

ObjectName

(string) The name of the grid object.

ListMode

(boolean) Whether the grid object should be in list mode.

VALUE

DESCRIPTION

true

Set the grid object to be in list mode.

false

Don't set the object to be in list mode.

Returns

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

See also:  Related Actions