Grid.SetHeaderSort

Grid.SetHeaderSort (

string ObjectName,

boolean SortOnClick )

Description

Sets whether or not rows are sorted on column header clicks when in list mode in a grid object.

Parameters

ObjectName

(string) The name of the grid object.

SortOnClick

(boolean) Whether or not clicking a column header sorts the rows below it.

VALUE

DESCRIPTION

true

Sort the rows below when column header is clicked.

false

Don't sort the rows.

Returns

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

See also: Related Actions