TdxSpreadSheetTableView.FillData(TcxDirection,Integer) Method
Populates a target cell range defined by the selected cell range, a specified direction, and number of rows/columns. Uses the selected cell range as a source.
Declaration
procedure FillData(ADirection: TcxDirection; ACount: Integer); overload;
Parameters
| Name | Type | Description |
|---|---|---|
| ADirection | TcxDirection | Specifies a direction for cell population (from the currently selected source cell range):
|
| ACount | Integer | Specifies the number of columns or rows in the target cell range (depending on the |
Remarks
Call the FillData procedure to copy selected cells into adjacent rows or columns (depending on the ADirection parameter value).
Note
A FillData call raises an EdxSpreadSheetError exception if the current selection is empty or includes more than one cell range.
Other FillData Procedures
FillData(cxClasses.TcxDirection,System.Integer)- Populates a target cell range defined by the selected cell range, a specified direction, and number of rows/columns. Uses the selected cell range as a source.
- FillData(System.String,System.String)
- Populates a specified cell range with values from a source cell range. Accepts each cell range as a reference (in the A1 or R1C1 format depending on the OptionsView.R1C1Reference) property value).
- FillData(System.Types.TRect,System.Types.TRect)
- Populates a specified cell range with values from a source cell range. Accepts each cell range as a rectangle defined by four cell positions (in indexes).
- FillData(System.Types.TRect,cxClasses.TcxDirection,System.Integer)
- Populates a target cell range defined by the source cell range, direction, and number of rows/columns. Accepts the source cell range as a rectangle defined by four cell positions (in indexes).
See Also