Skip to main content

TdxSpreadSheetTableView.FillData(TRect,TcxDirection,Integer) Method

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).

Declaration

procedure FillData(const ASourceArea: TRect; ADirection: TcxDirection; ACount: Integer); overload; virtual;

Parameters

Name Type Description
ASourceArea TRect

The source cell range (as a rectangle defined by four cell positions).

ADirection TcxDirection

Specifies a direction for cell population (from the current (source) cell selection):

dirLeft
Defines an adjacent cell range to the left of the source cell range. The target cell range contains ACount columns.
dirRight
Defines an adjacent cell range to the right of the source cell range. The target cell range contains ACount columns.
dirUp
Defines an adjacent cell range above the source cell range. The target cell range contains ACount rows.
dirDown
Defines an adjacent cell range below the source cell range. The target cell range contains ACount rows.
dirNone
The procedure call has no effect.
ACount Integer

Specifies the number of columns or rows in the target cell range (depending on the ADirection property value).

Remarks

Call the FillData procedure to copy a specified cell range into adjacent rows or columns (depending on the ADirection parameter value).

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,cxClasses.TcxDirection,System.Integer)
Populates a target cell range defined by the source cell range (in the A1 or R1C1 format), direction, and number of rows/columns.
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.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).
See Also