Schedule never fires Create

My on create function is just this:

     function (args) { console.log(args); }

3 Replies

NR Nevitha Ravi Syncfusion Team January 12, 2018 05:08 AM UTC

Hi Wouter, 

Thank you for contacting Syncfusion Support. 

We suspect that the casing of “create” event might be defined wrongly in your sample and to depict it clearly, we have prepared a sample for your reference which can be viewed from the below location. 

$("#Schedule1").ejSchedule({ 
                width: "100%", 
                height: "525px", 
                currentDate:new Date(2017,5,5), 
                appointmentSettings: { 
                    dataSource: dManager, 
                    id: "Id", 
                    subject: "Subject", 
                    startTime: "StartTime", 
                    endTime: "EndTime", 
                    description:"Description", 
                    allDay: "AllDay", 
                    recurrence: "Recurrence", 
                    recurrenceRule: "RecurrenceRule" 
                }, 
                create : function (args) { console.log(args); } 
}); 
 



Kindly check the casing from your end and let us know, if it works and also if you need any further assistance.  

Regards, 
Nevitha. 



WO Wouter January 12, 2018 08:49 AM UTC

Thanks for your answer.

That is literally what I have, but it still doesn't work. I cant even set a breakpoint in chrome, while on other events I can. I solved it another way for now...


UM Uma Maheswari C Syncfusion Team January 15, 2018 06:20 PM UTC

Hi Wouter,

With the provided information, we couldn't be able to reproduce the reported problem at our end and also not able to find the cause or provide you with any suggestion. Can you please share your code snippet of Schedule, on which you have tried to use its "create" event? - so that we will check and get back to you. 

Regards,
C. Uma Maheswari

Loader.
Up arrow icon