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

Open template when create schedule

Thread ID:

Created:

Updated:

Platform:

Replies:

144230 Apr 25,2019 05:53 PM UTC Apr 26,2019 09:42 AM UTC Vue 1
loading
Tags: Schedule
Marco
Asked On April 25, 2019 05:53 PM UTC

Hello, can you help me pls ^^, not open the modal template :((((

onCreated: function(args) {
console.log('onCreated')

/* Inicio para arreglar el bug del rendereo */

let cellData = {
startTime: new Date(2019, 5, 4, 10, 0),
endTime: new Date(2019, 5, 4, 11, 0)
};
this.$refs.scheduleObj.ej2Instances.openEditor(cellData, 'Add');

/* Fin para arreglar el bug del rendereo */
},

Nevitha Ravi [Syncfusion]
Replied On April 26, 2019 09:42 AM UTC

Hi Marco, 

Greetings from Syncfusion Support. 

We have achieved your requirement of opening the editor template on initial loading of scheduler using dataBound event, please refer the following sample. 

    onDataBound: function(args) { 
      if (this.flag) { 
        let cellData = {  
          startTime: new Date(2018, 5, 4, 10, 0),  
          endTime: new Date(2018, 5, 4, 11, 0) 
        };  
        this.$refs.scheduleObj.ej2Instances.openEditor(cellData, 'Add'); 
        this.flag = false; 
     
   


Regards, 
Nevitha 


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