cancel
Showing results for 
Search instead for 
Did you mean: 

Right click on appointment in singlePlanningCalendar

benoitg
Explorer
0 Kudos
64

Hello,

I try to developp a right click on Appointment in singlePlanningCalendar.

I create a custom CalendarAppointment but that doesn't work.

I try to call renderer but i get an error because CalendarAppointmentRenderer.js doesn't exist.

With jquery, it's ok but this solution doesn't please me and works randomly .

Thx for any help !

sap.ui.define(
['sap/ui/unified/CalendarAppointment'],
function (CalendarAppointment) {
"use strict";
return CalendarAppointment.extend("com.AgoraPlanification.tools.customControl.AppointmentTech", {
metadata: {
events: {
rightPress: {}
}
},
oncontextmenu : function (oEvent) {
debugger;
console.log("ok");
},
init: function () {
debugger;
}
});
}
);

Accepted Solutions (0)

Answers (0)