Skip to main content

TcxCustomGridTableController.FocusedItemIndex Property

Identifies the index of the focused data item.

Declaration

property FocusedItemIndex: Integer read; write;

Property Value

Type Description
Integer

The index of the focused data item.

Remarks

Similar to the FocusedItem property, you can use FocusedItemIndex to specify the focused data item of the active record. FocusedItemIndex identifies the position of the item in the parent View’s VisibleItems collection.

Refer to the FocusedItem topic for additional information.

Code Example

The following code example moves focus to the first visible data item:

AView.Controller.FocusedItemIndex := 0;
See Also