Override Double Click for New Event

I don’t want the user to be able to add new events by double clicking to timeline view. I still want them to be able to view read-only details when double clicking an existing event. Also, the user must still be able to drag events. I have tried overriding OnDblClick, OnEmptyClick, OnBeforeLightbox, and OnCellDblClick. Any ideas?

Hello,
check the following sample:
dhtmlxScheduler/samples/03_extensions/12_readonly_form.html

That sample displays strange, in that the lightbox is perminently open in the middle of my screen. Also, The events in read-only are not movable which is a must.

Lightbox gets opened after events loading just for the demo purposes,
12_readonly_form.html: scheduler.load("./data/events.xml",function(){ scheduler.showLightbox("1261150511");//show lightbox after data is loaded });Dnd and editing is disabled by the following code: //block all modifications scheduler.attachEvent("onBeforeDrag",function(){return false;}) scheduler.attachEvent("onClick",function(){return false;})You can remove this code so events could be editable

The option I missed which was in the read-only sample was the following:

    scheduler.config.dblclick_create = false;