Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGridTableController.GoToFirst(Boolean) Method

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

#Declaration

Delphi
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