Skip to main content
All docs
V25.1
  • IGrid.GetFocusedRowIndex() Method

    Returns the visible index of the focused row.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.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 Grid displays no rows.

    Remarks

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

    See Also