Skip to main content

TcxGridTableController.FocusedRow Property

Specifies the focused row in the parent grid View.

Declaration

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

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