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

TcxGridTableController.FocusedRow Property

Specifies the focused row in the parent grid View.

#Declaration

Delphi
property FocusedRow: TcxCustomGridRow read; write;

#Property Value

Type Description
TcxCustomGridRow

The focused grid row.

#Remarks

Use the FocusedRow property to focus a data or auxiliary[1] row in the parent grid View.

#Code Example: Focus the Filter Row and Activate the Filter Row Editor

The following code example moves focus to the Filter Row and activates its in-place editor:

var
  AView: TcxGridTableView;
begin
  AView := cxGridTableView1;
  AView.Controller.FocusedRow := AView.ViewData.FilterRow;
  AView.Controller.EditingController.ShowEdit;
end;
Footnotes
  1. A filter row is an example of an auxiliary row.

See Also