Timeline mode issues dblclick_create

Hi
I have an issue with Timeline mode.
scheduler.config.details_on_dblclick = false
scheduler.config.dblclick_create = false
is not working.

I tried in “month” mode, there it´s working fine but not in timeline mode.
Any idea ?

Hi @spaghetti

dblclick_create config works as expected in the Timeline view, now you can’t create new event by dbl click, please check http://snippet.dhtmlx.com/5/616eba6f5

details_on_dblclick config can be applied only in Day, Week and Units Views as it is specified in the documentation https://docs.dhtmlx.com/scheduler/api__scheduler_details_on_dblclick_config.html
Please pay attention, the false is a default value.

If you want to forbid opening the lightbox in the Timeline, you can do it in the onBeforeLightbox handler
Check the view by getState() method and return false if it is the Timeline.

scheduler.attachEvent("onBeforeLightbox", function (id){
    var mode = scheduler.getState().mode;
	if(mode == "timeline"){
    	return false;
	}
    return true;
});

Demo http://snippet.dhtmlx.com/5/b4ed6b770