TcxCustomGridTableController.GoToLast(Boolean,Boolean) Method
Moves focus to the last record (grouping row or data record) within the View.
Declaration
function GoToLast(AGoIntoDetail: Boolean; ASyncSelection: Boolean = True): Boolean;
Parameters
Name | Type |
---|---|
AGoIntoDetail | Boolean |
ASyncSelection | Boolean |
Returns
Type |
---|
Boolean |
Remarks
If the last record designates a master row and it is expanded, you can set the AGoIntoDetail parameter to True to jump to the last record of its detail. Otherwise, GoToLast will focus only the last record within the current View.
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 last record. Set this parameter to False if you need to preserve selection when moving focus.
On a successful focus move, the GoToLast function returns True.
See Also