Skip to main content

TcxPivotGridViewDataSelection.Add(TRect) Method

Adds a cell region to the current selection.

Declaration

procedure Add(const ARegion: TRect); virtual;

Parameters

Name Type
ARegion TRect

Remarks

This method appends the region passed as the ARegion parameter to the Regions collection.

Note

If the Regions collection already contains the specified region, it’s not added to the collection. If exact matches aren’t found, the specified region is added to the collection.

To programmatically add the (0, 0) data cell to the current selection, call the Add method as shown below:

PivotGrid.ViewData.Selection.Add(Rect(0, 0, 0, 0));
See Also