Skip to main content
All docs
V24.2

ITreeList.GetFocusedRowIndex() Method

Returns the visible index of the focused row.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

int GetFocusedRowIndex()

Returns

Type Description
Int32

If a data row is focused, the method returns this row’s visible index. The method returns -1 if a new row is focused or the TreeList displays no rows.

Remarks

Refer to the GetFocusedRowIndex() method description for more information and an example.

See Also