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. Image for the cookie policy date

Drag from scheduler an appointment outside the scheduler component to anywhere

I want to drag an appointment outside from the scheduler component and if i offdrag that outside delete them, so if it is possible i would like to know what event is triggered.

Thanks your help!


1 Reply

VD Vinitha Devi Murugan Syncfusion Team April 26, 2023 12:59 PM UTC

Hi Nandor,


Q1: To enable external drag and drop support for appointments, you can set the value of the EventDragArea property of the scheduler.

https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.SfSchedule-1.html#Syncfusion_Blazor_Schedule_SfSchedule_1_EventDragArea


Q2: When the event is dragged outside of the scheduler, the Dragged event is triggered. To delete the event, you can use the DeleteEventAsync public method in the Scheduler's Dragged event with JS interop.

https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.SfSchedule-1.html#Syncfusion_Blazor_Schedule_SfSchedule_1_DeleteEventAsync__1___0_System_Nullable_Syncfusion_Blazor_Schedule_CurrentAction__


Regards,

Vinitha


Loader.
Up arrow icon