Skip to main content

TcxCustomGridTableController.GoToFirst(Boolean) Method

Moves focus to the first record (grouping row or data record) within the View.

Declaration

function GoToFirst(ASyncSelection: Boolean = True): Boolean;

Parameters

Name Type
ASyncSelection Boolean

Returns

Type
Boolean

Remarks

The ASyncSelection parameter is optional. If this parameter is omitted, it is considered to be True. In this instance, this function clears the previous selection and synchronizes it with the first record. Set this parameter to False if you need to preserve selection when moving focus.

On a successful focus move, the GoToFirst function returns True.

See Also