We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DragAndDrop doesn't work

Thread ID:





140668 Oct 31,2018 01:39 PM UTC Nov 1,2018 04:47 AM UTC Angular - EJ 2 1
Tags: Schedule
Asked On October 31, 2018 01:39 PM UTC

How do I enable drag and drop features of the Schedule?

I have tried enabling it in the html with : [allowDragAndDrop]='true' but this results in: "Can't bind to 'allowDragAndDrop' since it isn't a known property of 'ejs-schedule' " 

As explained here: https://help.syncfusion.com/angular/schedule/working-with-appointments#drag-and-drop

Karthigeyan Krishnamurthi [Syncfusion]
Replied On November 1, 2018 04:47 AM UTC

Hi Sybren 
Thank you for contacting Syncfusion support. 
In EJ2 Schedule, drag and drop feature will be enabled only if the corresponding module DragAndDropService is injected in ts file. We have prepared the below sample for your reference, kindly refer it. 
import { ViewEncapsulation, Component, OnInit } from '@angular/core'; 
import { 
    EventSettingsModel, DayService, WeekService, WorkWeekService, MonthService, 
    AgendaService, ResizeService, DragAndDropService 
} from '@syncfusion/ej2-angular-schedule'; 
import { resourceData } from './datasource'; 
    selector: 'app-root', 
    templateUrl: './app.component.html', 
    providers: [DayService, WeekService, WorkWeekService, MonthService, AgendaService,ResizeService, DragAndDropService], 
    encapsulation: ViewEncapsulation.None 
export class AppComponent implements OnInit { 
    public selectedDate: Date = new Date(2018, 3, 1); 
    public eventSettings: EventSettingsModel = { dataSource: resourceData }; 
    ngOnInit(): void { 
Shared UG link is related to EJ1 and kindly refer the below EJ2 UG and online sample links.  
Note: Currently UG enhancement for new features (including resize and drag-drop) is in progress and it will be refreshed in online as soon as possible. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon