Hi Ebi Torabi,
Greetings from Syncfusion.
Query: When deleting a record in the Grid, the user allows it to be deleted
We have validated your query and we suspect that you want to show delete confirm dialog(user wants to confirm the delete operation or cancel the delete operation) while deleting the record in the grid. You can achieve your requirement by using ShowDeleteConfirmDialog property. Please find the below code example and sample for your reference.
[code example]
@page "/"
@using Syncfusion.EJ2.Blazor.Grids
<EjsGrid DataSource="@Orders" AllowPaging="true" Toolbar="@(new List<string>() { "Add", "Edit", "Delete", "Update", "Cancel" })">
<GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true" Mode="EditMode.Normal" ShowDeleteConfirmDialog="true"></GridEditSettings>
<GridColumns>
...
</GridColumns>
</EjsGrid>
@code{
...
}
|
If this is not your requirement or it does not meet your requirement, then could you please share more information regarding your requirement.
Regards,
Rahul