We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

When deleting a record in the Grid, the user allows it to be deleted

Thread ID:

Created:

Updated:

Platform:

Replies:

146266 Jul 29,2019 09:40 AM UTC Jul 30,2019 09:04 AM UTC Blazor 2
loading
Tags: Grid
ebi torabi
Asked On July 29, 2019 09:40 AM UTC

No request for user confirmation when deleting a record in the data grid

Rahul Narayanasamy [Syncfusion]
Replied On July 30, 2019 07:09 AM UTC

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 


ebi torabi
Replied On July 30, 2019 09:04 AM UTC

Thank you so much for solving the problem

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon