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.v22.1.dll
Declaration
[Parameter]
public Func<Task> RowInsertStartAsync { get; set; }
Remarks
Important
The Data Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Grid component.
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" ...>
</DxDataGrid>
...
@code {
async Task OnRowInsertStart() {
// your code
}
}