TTMSFNCDataGridData.CanSwapRow Method
Checks whether two rows can be swapped.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Syntax
function CanSwapRow(AFromRow, AToRow: Integer): Boolean;
bool __fastcall CanSwapRow(int AFromRow, int AToRow);
Parameters
| Name | Description |
|---|---|
AFromRow |
Zero-based index of the first row. |
AToRow |
Zero-based index of the second row. |
Returns
True when both rows exist, differ, are normal data rows, and contain no merged cells.