Back to Devexpress

TcxCustomDataController.GotoFirst Method

vcl-cxcustomdata-dot-tcxcustomdatacontroller-4bac12dd.md

latest1.9 KB
Original Source

TcxCustomDataController.GotoFirst Method

Moves focus to the first visible row.

Declaration

delphi
procedure GotoFirst;

Remarks

The GotoFirst method focuses the first visible row within a data controller.

In grid mode implemented by the TcxDBDataController class, GotoFirst calls the dataset’s First method.

The current focused row is addressed by the FocusedRowIndex property. You can retrieve information on a particular row using the GetRowInfo function.

See the Record Navigation topic for more information.

See Also

TcxCustomDataController.FocusedRowIndex

TcxCustomDataController.GetRowInfo

TcxCustomDataController.GotoLast

TcxCustomDataController.GotoNext

TcxCustomDataController.GotoPrev

TcxCustomDataController.IsBOF

TcxCustomDataController.IsEOF

TcxCustomDataController.RowCount

TcxCustomDataController.SaveBookmark

TcxCustomDataController Class

TcxCustomDataController Members

cxCustomData Unit