Hello,
I am using Syncfusion JS2 with community license, trying to develop a scheduling application in a Asp.net mvc project. I implemented initialization code and get scheduler view successfully. But when i double click on the view, editor window is not shown. (With one click, info popup is shown.)
Also i could not add any appointment with code. Below is imports and functional codes.There is no exception, no javascript error, but event is not beeing added to schedule control.
Could you help?
Regards
//Page scripts
var data = [{
Id: 1,
Subject: 'Paris',
StartTime: new Date(2019, 8, 2, 10, 0),
EndTime: new Date(2019, 8, 2, 12, 30),
}];
var scheduleObj = new ej.schedule.Schedule({
height: '550px',
selectedDate: new Date(2019, 8, 2),
views: ['Day', 'Week', 'TimelineWeek', 'Month', 'Agenda'],
eventSettings: {
dataSource: data
}
});
scheduleObj.appendTo('#scheduler');
let Data = [{
Id: 3,
Subject: 'Conference',
StartTime: new Date(2019, 8, 3, 9, 0),
EndTime: new Date(2019, 8, 3, 10, 0),
IsAllDay: false
},{
Id: 4,
Subject: 'Meeting',
StartTime: new Date(2019, 8, 3, 10, 0),
EndTime: new Date(2019, 8, 3, 11, 30),
IsAllDay: false
}];
scheduleObj.addEvent(Data);