This is a migrated thread and some comments may be shown as answers.

angular kendo ui scheduler - disable drag events

1 Answer 75 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
R
Top achievements
Rank 1
R asked on 13 Jan 2021, 10:50 PM
how can i disable drag the events?

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 15 Jan 2021, 10:52 AM

Hi,

The developer can prevent dragging events either by setting the drag option of the EditableSettings to false:

  <kendo-scheduler
        [kendoSchedulerBinding]="editService.events | async"
...
        [editable]="{'drag':false}"
...

or prevent specific drag event using preventDefault method:

 <kendo-scheduler
        [kendoSchedulerBinding]="editService.events | async"
        ...
        (dragStart)="$event.preventDefault()"
         ...

I hope this helps.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Scheduler
Asked by
R
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or