Dragging event on event fire

Hi,

Is there a way of setting an event within the scheduler to drag based on an event in javascript firing? e.g. so if i press a button the a chosen event is suddenly treated as currently being dragged.

Any help on this would be greatly appreciated.

Thanks,

Matt