TdxSpreadSheetTableView.FillData(TRect,TcxDirection,Integer) Method
Populates cells from the specified source.
Declaration
procedure FillData(const ASourceArea: TRect; ADirection: TcxDirection; ACount: Integer); overload; virtual;
Parameters
Name | Type |
---|---|
ASourceArea | TRect |
ADirection | TcxDirection |
ACount | Integer |
Remarks
You can call any of these overloaded procedure variants to programmatically employ the AutoFill functionality. Different FillData
procedure variants provide different ways to specify source and target cell ranges:
Variant | Source | Destination |
---|---|---|
| The cell value source is a contiguous cell selection. If the current selection is empty or includes more than one cell range, a | The procedure variant accepts the destination cell range’s direction from the source range as the A |
| The procedure variant accepts a reference (as a string in the A1 format) to the destination cell range. | The procedure variant accepts a reference to the destination cell range as the A |
| The procedure variant accepts a TRect value as the | The procedure variant accepts the destination cell range as the ATargetArea parameter in the same manner as the source range. The destination range’s behavior is the same as in the second procedure variant’s case. |
| The procedure variant accepts a reference (as a string in A1 format) to the destination cell range. | These procedure variants accept the destination cell range’s direction as the |
| The procedure variant accepts a TRect value that indicates the source cell range. |
Note
A FillData
procedure call has no effect if the CanFillData function returns False
.