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

Change text "Details of" on dialog template grid

Thread ID:





125037 Jul 15,2016 09:01 PM UTC Jul 19,2016 05:52 AM UTC ASP.NET MVC 3
Tags: Grid
Carlos Palomino
Asked On July 15, 2016 09:01 PM UTC

How can you change the text of dialog template for other custom grid from appearing "Details of" plus the primary key?

For example that "detail of" plus another value appears.

Attachment: Doc1_9f3ed823.zip

Mani Sankar Durai [Syncfusion]
Replied On July 18, 2016 06:30 AM UTC

Hi Carlos, 

Thanks for contacting Syncfusion support, 

We have analyzed your query and the screenshot and we have achieved your requirement by using  
the ActionComplete event of grid in which you can change any value of title in Dialog Box 

For your convenience please refer the below code example and help document for actionComplete event in grid 
<script type="text/javascript"> 
function complete(args) { 
        var grid = $(".e-grid").ejGrid("instance") 
        if (args.requestType == "beginedit" || args.requestType == "add") 
            $('#' + this._id + '_dialogEdit').ejDialog("option", "title", "Details of" + this.getSelectedRecords()[0]["EmployeeID"]);        
    }    }; 
In the above code example we have set the “EmployeeID” value of grid instead of setting primary key value. 

We have also prepared a sample that can be downloaded from the below link, 

Manisankar Durai. 

Carlos Palomino
Replied On July 18, 2016 04:47 PM UTC

Thanks for the reply.

Mani Sankar Durai [Syncfusion]
Replied On July 19, 2016 05:52 AM UTC

Hi Carlos, 
Thanks for the update. 

Please get back to us if you need any further assistance we are happy to assist you.
Manisankar Durai. 


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

or the page will be automatically redirected to 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