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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

I want example of delete record with confirm box

Thread ID:





120147 Sep 4,2015 10:19 AM UTC Sep 7,2015 06:22 AM UTC JavaScript 1
Tags: ejGrid
Bharat Buddhadev
Asked On September 4, 2015 10:19 AM UTC

Thanks for your previous reply.

Technology  must be angular and mvc

after selecting record from grid when  I click on delete button grid header 
I want to display confirmation dialog box to user 
With Ok and Cancel button 
and so when i click on Ok button i can delete the record
if i will click on Cancel button popup will close and record will not be deleted.
note   : just for your better understanding  we just want to display custom dialog box with Ok and Cancel

Waiting for you quick response 
Thank you 

Prasanna Kumar Viswanathan [Syncfusion]
Replied On September 7, 2015 06:22 AM UTC

Hi Bharat,

Thanks for contacting Syncfusion support.

Please enable the showdeleteconfirmdialog API of editsettings, in order to show the custom dialog box while deleting the record.

Please refer to the UG Documentation for the showdeleteconfirmdialog API  from the following link:


Please find the code example and sample,

<div ng-app="employeeView">

    <div ng-controller="GridCtrl">

        <div ej-grid id="Grid" e-width="500px" e-datasource="data" e-allowsorting="true" e-allowPaging="true" e-toolbarsettings-showtoolbar="true" e-toolbarsettings-toolbaritems="tools" e-editsettings-allowdeleting=' true' e-editsettings-allowediting='true' e-editsettings-showdeleteconfirmdialog=' true'>

            <div e-columns>

                <div e-column e-field="EmployeeID" e-headertext="Employee ID" e-isprimarykey="true" e-textalign="right"></div>

                <div e-column e-field="LastName" e-headertext="Last Name" e-textalign="right"></div>

                <div e-column e-field="FirstName" e-headertext="First Name" e-textalign="right"></div>

                <div e-column e-field="Title" e-headertext="Title" e-textalign="right"></div>

                <div e-column e-field="City" e-headertext="City" e-textalign="right"></div>

                <div e-column e-field="Country" e-headertext="Country" e-textalign="right"></div>




Sample Link: http://www.syncfusion.com/downloads/support/forum/120147/ze/ServerOperations1436284695

Prasanna Kumar N.S.V


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