Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxPivotGridViewDataSelection.FocusedCell Property

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

#Declaration

Delphi
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