Hi,
I'm trying to toggle eventTooltip props dynamically.
I want to display the eventTooltip only on edit mode (when readOnly = false)
When I call "calendar.activeView.refresh();", the readOnly props is updated but not the eventTooltip.
calendarProps = {
...
readOnly: true,
features: {
eventTooltip: null
}
}
var calendar = new bryntum.calendar.Calendar(calendarProps);
$('#edit-handler').click(() => {
calendar.readOnly = false;
calendar.features.eventTooltip = {
align : 'l-r',
};
calendar.activeView.refresh();
});
Could you help me please ?