Skip to main content

TcxPivotGridViewDataSelection.FocusedCell Property

Specifies the position of the focused data cell in the column-row matrix coordinates.

Declaration

property FocusedCell: TPoint read; write;

Property Value

Type
TPoint

Remarks

The TPoint record stores indexes of column and row the focused data cell belongs to. X specifies the column index, and Y specifies the row index.

For example, to programmatically focus a data cell that lies at the intersection of the first column and the second row, make an assignment as shown below:

PivotGrid.ViewData.Selection.FocusedCell := Point(0,1);

To remove cell focus from a pivot grid, set the FocusedCell property to (-1,-1).

See Also