Change the label of Delete Confirmation Dialog

Hello there,

I am using your syncfusion MVC grid in one of my projects. In my grid, I have added AllowDeleting() and ShowDeleteConfirmDialog() as:
Screenshot of my delete buttons. -->   


Clicking on those delete buttons do give me the confirmation dialog perfectly!



My requirement is, I need to change the text/label from "Are you sure you want to Delete Record?" to something else (e.g. "Do you like an apple?"). I tried a few things; didn't work. Please help!

1 Reply

SA Saravanan Arunachalam Syncfusion Team October 23, 2017 06:03 AM UTC

Hi Nishant, 
Thanks for contacting Syncfusion’s support. 
We have analyzed your reported query and we can achieve your requirement by overriding default culture’s locale text (en-US) that can be refer from the below code example. 
$(function () { 
            ej.Grid.Locale["en-US"]= { 
                ConfirmDelete: "Do you like an apple?" 
            } 
        }); 
  
And we have already discussed this query in the below documentation link and online demo link. 
Regards, 
Saravanan A. 


Loader.
Up arrow icon