DxDataGrid<T>.RowInsertStartAsync Event

Occurs when the edit form is opened to add a data row and allows you to await handler execution without blocking the Data Grid.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll


public Func<Task> RowInsertStartAsync { get; set; }


The RowInsertStartAsync event occurs when a user clicks the New button in a command column or you call the StartRowEdit(Object) method.

Handle this event to perform actions before a user starts to add a data row. For instance, use this event to load additional row-related information asynchronously.

<DxDataGrid DataAsync="@ForecastService.GetForecastAsync" 
            RowInsertStartAsync="@OnRowInsertStart" ...>
@code {
    async Task OnRowInsertStart() {
        // your code
See Also