Calendar MeetingDataSource events ontap listener
Hi,
How can I implement an ontap listener for the events that are already in my calendar? Thanks!
SIGN IN To post a reply.
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:
https://pub.dev/documentation/syncfusion_flutter_calendar/latest/calendar/CalendarElement-class.html
We hope that this helps you. Please let us know if you need further assistance.
Regards,
Indumathi R
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:https://pub.dev/documentation/syncfusion_flutter_calendar/latest/calendar/CalendarElement-class.htmlWe 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
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
RK Ralph Klein Guevarra
- Apr 29, 2020 04:54 AM UTC
- Apr 29, 2020 09:19 AM UTC