TTMSFNCCustomDataGrid.CanMoveRow Method
Checks whether moving a row from one index to another is permitted by grid options and events.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
function CanMoveRow(AFromRow, AToRow: Integer): Boolean;
Parameters
| Name | Description |
|---|---|
AFromRow |
Source row index. |
AToRow |
Destination row index. |
Returns
True if the move is allowed.