Calendar MeetingDataSource events ontap listener

Hi,

How can I implement an ontap listener for the events that are already in my calendar? Thanks!

3 Replies

IR Indumathi Ravichandran Syncfusion Team April 29, 2020 08:37 AM UTC

Hi Ralph, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information, your requirement of getting the events details using the `targetElement` of the `onTap` callback of the Flutter event calendar. Please find the code snippet for the same. 
 
Code snippet: 
void calendarTapped(CalendarTapDetails calendarTapDetails) {
 
if (calendarTapDetails.targetElement == CalendarElement.appointment ||calendarTapDetails.targetElement == CalendarElement.agenda) {
   
//// To do your requirement here.
 
}
}
 
 
 
Please find the KB document for the getting appointment details using `onTap` callback. 
 
 
 
Please find the API links for the CalendarElement, 
 
Link: 
 
We hope that this helps you. Please let us know if you need further assistance. 
 
Regards, 
Indumathi R 



RK Ralph Klein Guevarra replied to Indumathi Ravichandran April 29, 2020 09:16 AM UTC

Hi Ralph, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information, your requirement of getting the events details using the `targetElement` of the `onTap` callback of the Flutter event calendar. Please find the code snippet for the same. 
 
Code snippet: 
void calendarTapped(CalendarTapDetails calendarTapDetails) {
 
if (calendarTapDetails.targetElement == CalendarElement.appointment ||calendarTapDetails.targetElement == CalendarElement.agenda) {
   
//// To do your requirement here.
 
}
}
 
 
 
Please find the KB document for the getting appointment details using `onTap` callback. 
 
 
 
Please find the API links for the CalendarElement, 
 
Link: 
 
We hope that this helps you. Please let us know if you need further assistance. 
 
Regards, 
Indumathi R 


Hey,

Thank you so much for the information. I'll just ask some more questions if I need more in-depth functionalities. Thank you!


IR Indumathi Ravichandran Syncfusion Team April 29, 2020 09:19 AM UTC

Hi Ralph, 
 
Thank you for the update. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Indumathi R 


Loader.
Up arrow icon