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.
Unfortunately, activation email could not send to your email. Please try again.

Dialog template instantiatiates TinyMCE only first time

Thread ID:





125084 Jul 20,2016 09:45 AM Jul 26,2016 12:33 AM JavaScript 3
Tags: ejGrid
Asked On July 20, 2016 09:45 AM

See example: http://jsplayground.syncfusion.com/plebdrul
Double click on a row shows a dialog with a template for editing, however this works only one time. Canceling and opening again doesnt show the TinyMCE control.

Jayaprakash Kamaraj [Syncfusion]
Replied On July 21, 2016 09:44 AM

Hi Wouter, 

Thank you for contacting Syncfusion support. 

In Grid, while editing we have rendered template in dialogtemplate mode. In your sample you have rendered tinymce control in textarea but that didn’t removed while perform save or cancel operation grid. So, while perform edit operation in second time tinymce control not append in dialog template. To overcome this problem we suggest to remove or destroy tinymce control  when args.requestType as save or cancel in actionComplete event. Please refer to the below code example and sample. 

$(function () { 
                actionComplete: "complete", 
function complete(args) { 
              if(args.requestType == "save" || args.requestType == "cancel") 


Jayaprakash K. 

Replied On July 22, 2016 06:24 AM

That works! Thank you for the support.

Jayaprakash Kamaraj [Syncfusion]
Replied On July 26, 2016 12:33 AM

Hi Wouter,  
We are happy that the provided suggestion helped you.  
Please get back to us if you need any further assistance.   
Jayaprakash K. 


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.

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.