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

TcxCustomGridTableController.FocusedItemIndex Property

Identifies the index of the focused data item.

#Declaration

Delphi
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: Focus the First Visible Data Item

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

AView.Controller.FocusedItemIndex := 0;
See Also