Data grid context menu doesnt open the confirm delete dialog

Hello,

I have a Data Grid inside a Vue app. I have set the showDeleteConfirmDialog to be true inside the editSettings object. 

If I click on the Delete button inside the toolbar of the Grid I get a confirmation Dialog like this one:



But if I click on the Delete menu inside the context menu of the Grid then the confirmation Dialog is not shown. 
How can I have the confirmation Dialog also appear when I right click a row from the Grid and in the context menu I select Delete?


1 Reply 1 reply marked as answer

TS Thiyagu Subramani Syncfusion Team September 4, 2020 12:54 PM UTC

Hi Alex, 

Thanks for contacting Syncfusion forum. 

Query: If I click on the Delete menu inside the context menu of the Grid then the confirmation Dialog is not shown.  
 
By default in EJ2 grid the delete confirmation dialog will be displayed while performing delete action for both toolbar and context menu click. 

Based on your reported information we have prepared a sample with context menu and showDeleteConfirmDialog as true in editSettings but in our sample the mentioned issue is not reproduced at our end.  

Please refer to the below sample for more references. 



If still facing the issue, Please share below details which helps us, to provide appropriate solution as soon as possible. 

1. By default the Delete confirmation dialog shows the below text but in your screenshot it shows different text. So please confirm have you used any custom popup to show confirmation before deleting the selected record ? 

 

2.  Share complete grid rendering code. 

3. Video demonstration of your issue. 

4. Are you facing any script error? 

5. Syncfusion package version. 

Please get back to us, if you need any further assistance. 

Regards, 
Thiyagu S. 


Marked as answer
Loader.
Up arrow icon