Editor Window Customization in JavaScript (ES5) Schedule control - How to get save button click event from editor window

Hello all,

I am unable to find the save button event from the editor window could you please help me out because I want to do some custom logic when the save button is clicked.



1 Reply

NR Nevitha Ravi Syncfusion Team July 28, 2021 08:38 AM UTC

Hi Rahul, 

Greetings from Syncfusion Support. 

You can get the save button click event using popupClose event or actionBegin event. Please refer to the following UG and sample. 

actionBegin: function(args) { 
    if ( 
      args.requestType == 'eventCreate' || 
      args.requestType == 'eventChange' 
    ) { 
      console.log(args.data); 
    } 
  }, 
  popupClose: function(args) { 
    if (args.type == 'Editor' && args.data != null) { 
      console.log(args.data); 
    } 
  } 


Please try the above solution and let us know if you need any further assistance. 

Regards, 
Nevitha 


Loader.
Up arrow icon