Drag-and-drop between schedulers


#1

Hello,

I am new here in the forum. I have a question regarding Drag-and-drop between schedulers, does it work in the trial version? I am replying the examples but it isn’t working. I saw this message:

The functionality is available for the Commercial, Enterprise and Ultimate licenses only.

This means that in the trial doesn’t work?

Thank you.


#2

Hello @Andre_Cruz ,

The Trial version supports all of the scheduler functionality, including the Drag-and-drop between schedulers, you can check it in the samples/20_multiple/07_drag_between.js sample the downloaded package:
https://recordit.co/y9CnIwAph2

If it doesn’t work in your case, highly likely it’s cause you didn’t add the dhtmlxscheduler_drag_between.js extension:
https://docs.dhtmlx.com/scheduler/dhtmlx_components_integration.html#draganddropbetweenschedulers

If not, could you please provide more details on how to reproduce the issue?


#3

Hello Siarhei,

I am integrating DHTMLX in Outsystems. I was trying to reproduce that sample you posted.
I am defining the schedulers like this:
function init() {
scheduler1 = Scheduler.getSchedulerInstance();
scheduler1.config.drag_in = true;
scheduler1.config.multi_day = true;
scheduler1.config.drag_move = true;
scheduler1.config.first_hour = 10;
scheduler1.init(‘scheduler_here’,new Date(2017,5,30),“week”);
scheduler1.parse(JSON.parse(JSONExample));

	scheduler2 = Scheduler.getSchedulerInstance();
	scheduler2.config.multi_day = false;
	scheduler2.config.drag_in = true;
	scheduler2.config.drag_move = true;
	scheduler2.init('scheduler_here_too',new Date(2017,5,30),"month");
	scheduler2.parse(JSON.parse(JSONExample));
		
	}

init();

And importing the files you mentioned:

I think I added everything that exists on the sample. It should be working.