Delete event on delete keypress

Hello,

I just wondered if it is possible and how, to instantly delete an event when pressing delete-key.


Thanks in advance.


Regards,

Julian Wandel


1 Reply 1 reply marked as answer

VD Vinitha Devi Murugan Syncfusion Team September 9, 2022 09:42 AM UTC

Hi Julian,


Greetings from Syncfusion Support.


We have achieved your requirement “if it is possible and how, to instantly delete an event when pressing delete-key" by making use of deleteEvent method and popupOpen event of our schedulerYou can refer the sample from the following link.


https://stackblitz.com/edit/delete-event-on-delete-key-press?file=main.ts


Also, we suggest you to refer below UG Link to know more about deleteEvent and popupOpen.


https://ej2.syncfusion.com/angular/documentation/api/schedule/#popupopen

https://ej2.syncfusion.com/angular/documentation/api/schedule/#deleteevent


Kindly try with the above sample and get back to us if you need any further assistance.


Regards,

Vinitha


Marked as answer
Loader.
Up arrow icon