Cell Tapped & CellDoubleTapped Args.DateTime is not correct on UWP

Dear Team,

I am facing an issue about Xamarin.Forms -> SfSchedule

i am unable get correct time on CellTapped / CellDoubleTapped Event

when i tapped on the cell it gives me the correct date but if i tapped on event within this cell it gives me eventStartTime in args.DateTime

Problem occurs in UWP but working fine in android

Thanks
Best Regards
Muneeb Ur Rehman

3 Replies

JN Jayaleshwari N Syncfusion Team February 11, 2020 12:10 PM UTC

Hi Muneeb Ur Rehman, 
 
Thanks for using Syncfusion Products. 
 
We have checked the reported query “Cell Tapped & CellDoubleTapped Args.DateTime is not correct on UWP” from our end. We would like to let you know that as per implementation if you have added appointment to Schedule and CellTap or CellDoubleTap then args.DateTime will always the EventStartTime only. You are tapping on the event and args will have the EventStartTime is the expected behavior.  
 
We have ensured the same in Android (Mi A1 Android Version 9) args having the EventStartTime only. Could you please share the device specific information. 
 
Jayaleshwari N. 



MU Muneeb February 11, 2020 01:30 PM UTC

Dear Team, 

Here is link of a sample Xamarin.Forms Application Implementing SfSchudule

https://drive.google.com/file/d/1eboovNWd2wGE6e8Zj70GZdD7n05xb3Lr/view?usp=sharing

 In this sample app i attach an CellDoubleTapped Event on SfSchedule and show displayAlert for displaying DateTime

in UWP  when i double tap on cell it gives me cell dateTime and when i double tap event it gives me EventStartTime on a recurring event 
in Android when i double tap on cell it gives me cell DateTime & also if i double tap on event it gives me current cell DateTime

i want current cell DateTime for add date in RecurrencExceptionDates on update event but UWP  is giving startEventDate.

Thanks 
Best Regards
Muneeb Ur Rehman
 



KA Karthikraja Arumugam Syncfusion Team February 12, 2020 11:29 AM UTC

 Hi Muneeb, 
 
Thank you for the update. 
 
As mentioned in our previous update, if you tap appointment then CellTapped and CellDoubleTapped events hold appointment start time as DateTime, this behavior is same for all three platforms. We have tested it in all three platforms and appointment start time is return as DateTime in event arguments. Please refer the tested video for android platform. 
 
 
Please let us know if you have any concern. 
 
Regards, 
Karthik Raja A 


Loader.
Up arrow icon