Skip to main content
All docs
V25.1
  • IGrid.StartEditDataItemAsync(Object, String) Method

    Starts editing the specified data item.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    Task StartEditDataItemAsync(
        object dataItem,
        string fieldName = null
    )

    Parameters

    Name Type Description
    dataItem Object

    A data item.

    Optional Parameters

    Name Type Default Description
    fieldName String null

    A data source field name that defines the column cell in which an editor in EditCell mode is to be displayed. If this parameter is omitted, the method displays an editor in the first data column whose DataRowEditorVisible equals true.

    Returns

    Type Description
    Task

    A task that is completed when the row is in edit mode.

    Remarks

    Refer to the StartEditDataItemAsync method description for more information and an example.

    See Also