Hi,
How to get the drop down value
When click the save button.
ie,
scheduler.attachEvent(“onEventSave”, function(id, data) {
var isBlock;
$.ajax({
url: ‘EventBlockHandler.ashx’,
dataType: ‘json’,
success: function(data) {
isBlock = data.label[1]
},
async: false
});
//if it true we cant create event
if (isBlock == “True”) {
alert(scheduler.getEventText(id));
return false;
}
return true;
});
I need to pass the drop down selected value, fromdate,startdate
Plz help me.
The data object, which comes to the onEventSave handler contains all details
data.start_date
data.end_date
data.text
data.custom_property // use the exact name of property
Thanks
I need to read only the event,
if i create the event from “units” tab, that should be storded in database readonly=true
if i create the event from “Week” tab, that should be storded in database readonly=false
How can i implement that,
help me please
scheduler.attachEvent("onEventCreated", function(id){
if (scheduler._mode == "units")
scheduler.getEvent(id).readonly = true;
});