Scheduler Item Created and Menu

Couple of questions. First off is there are way to remove the menu that pops up on the left side of an activity when clicking it? Is there a way to add or remove buttons. Don’t really need the edit in place behavior and would like to force a full detail edit. Second question. I have been trying to handle the onEventCreated event. The only thing I really need from this event is the start and end time of the event but I don’t see that populated on the event object parameter. Is there a way to get these values?



Thanks for your help.

First off is there are way to remove the menu that pops up on the left side of an activity when clicking it
You can switch all scheduler to readonly mode ( scheduler.config.readonly = true; ), or just block onClick event
scheduler.attachEvent(“onClick”,function(){ return false; });

>>Is there a way to add or remove buttons.
dhtmlx.com/dhxdocs/doku.php? … gs#control
scheduler.config.details_on_dblclick = true;
scheduler.config.details_on_create = true;

>>trying to handle the onEventCreated event.
If you need to catch the moment when event fully created you need to use onEventAdded
In any case, dates can be fetched as
scheduler.attachEvent(“onEventCreated”,function(id){
var start = scheduler.getEvent(id).start_date;
var end = scheduler.getEvent(id).end_date;

return true;
})