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

Change delete confirmation message text for SyncFusion grid.

Thread ID:

Created:

Updated:

Platform:

Replies:

145511 Jun 25,2019 06:14 PM UTC Jun 27,2019 06:12 AM UTC Angular - EJ 2 3
loading
Tags: Grid
Pavani Kothapalli
Asked On June 25, 2019 06:14 PM UTC

Hi,

I was looking if there is anyway to change delete confirmation message text for SyncFusion grid.

I clicked on Demos for batch editing of grid and clicked on Edit in StackBlitz. Set showDeleteConfirmDialog:true in app.component.ts. I get "Are you sure you want to Delete Record?" delete confirmation message as expected but is there anyway to change the text of the delete confirmation message.

Below is the link of Demo for batch-editing of grid that I was trying to change.

https://ej2.syncfusion.com/angular/demos/#/material/grid/batch-editing


Thanks,
Pavani


Thavasianand Sankaranarayanan [Syncfusion]
Replied On June 26, 2019 01:58 PM UTC

Hi Pavani, 

Greetings from Syncfusion support. 

We can bale to change the text for delete confirmation dialog in Grid. Please refer the below code example. 

[app.component.html] 

<ejs-grid #batchgrid id='Batchgrid' [locale]='en-US' [dataSource]='data' allowPaging='true' [pageSettings]='pageSettings' [editSettings]='editSettings' [toolbar]='toolbar'> 
            <e-columns> 

                    ------------------------ 

            </e-columns> 
        </ejs-grid> 

------------------------------------------------------------------------------------------------------------ 
[app.component.ts] 

setCulture('en-US'); 

L10n.load({ 
    'en-US': { 
        grid: { 
           ConfirmDelete:"Are you ok to delete the record ?" 
       
   
}); 

  
We have prepared a simple sample in the following stackblitz link. 


Regards, 
Thavasianand S. 


Pavani Kothapalli
Replied On June 26, 2019 03:06 PM UTC

This is exactly what I was looking for. Thank you.


Thavasianand Sankaranarayanan [Syncfusion]
Replied On June 27, 2019 06:12 AM UTC

Hi Pavani, 
 
Thanks for your update. 
 
We are happy that the problem has been resolved at your end. 
 
Regards, 
Thavasianand S. 


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