TTMSFNCDataGrid.CanSwapRow Method
Checks whether two rows can structurally be swapped.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Syntax
function CanSwapRow(AFromRow, AToRow: Integer): Boolean;
bool __fastcall CanSwapRow(int AFromRow, int AToRow);
Parameters
| Name | Description |
|---|---|
AFromRow |
Index of the first row. |
AToRow |
Index of the second row. |
Returns
True when both indexes are valid and different, and neither row is spanned by a merged cell.