Hi,
I want to change the tooltip text (specifically the format of date ) which is displayed when we create an event by double click and drag.
I configured the tooltip text when a event is dragged by the event “onEventDrag” like this :-
var calendar = scheduler;
calendar.attachEvent("onEventDrag",function (id, mode, e) {
var event = calendar.getEvent(id);
var DateTimeformat = calendar.date.date_to_str("%D %j %M %g:%i %A");
var Dateformat = calendar.date.date_to_str("%D %j %M");
var start = '', end = '';
if (event.start_date_format === "date") {
start = Dateformat(event.start_date);
} else {
start = DateTimeformat(event.start_date);
}
if (event.end_date_format === 'date') {
end = Dateformat(event.end_date);
} else {
end = DateTimeformat(event.end_date);
}
calendar.dhtmlXTooltip.show(e, start + " - " + end);
return true;
});
similarly i want to configure the tooltip text which is displayed when we double click and drag to create an event.