Back to Devexpress

TcxCustomGridTableController.GoToFirst(Boolean) Method

vcl-cxgridcustomtableview-dot-tcxcustomgridtablecontroller-dot-gotofirst-x28-system-dot-boolean-x29.md

latest2.8 KB
Original Source

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

NameType
ASyncSelectionBoolean

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

TcxGridMasterDataRow

TcxCustomDataController.GotoBookmark

TcxCustomDataController.SaveBookmark

TcxCustomGridTableController.FindNextRecord

TcxCustomGridTableController.FocusedRecord

TcxCustomGridTableController.FocusedRecordIndex

TcxCustomGridTableController.FocusNextRecord

TcxCustomGridTableController.FocusNextRecordWithSelection

TcxCustomGridTableController.GoToLast

TcxCustomGridTableController.GoToNext

TcxCustomGridTableController.GoToPrev

TcxCustomGridTableController.MakeRecordVisible

TcxCustomGridTableController Class

TcxCustomGridTableController Members

cxGridCustomTableView Unit