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

Time indicator - Restrict to 15 minute increments when dragging

Is it possible to restrict the time indicator to only show 15 minute increments when dragging and dropping?


3 Replies

SS SaiGanesh Sakthivel Syncfusion Team April 7, 2023 05:17 AM UTC

Hi Peter,


We have documentation about ‘How to drop the appointment based on the time interval in flutter calendar’ in our Syncfusion Knowledge base in our website. Please refer to the following KB link for your reference.


KB: https://www.syncfusion.com/kb/12950/how-to-drop-the-appointment-based-on-the-time-interval-in-flutter-calendar-sfcalendar


Please let us know if you have any concerns.


Regards,
SaiGanesh Sakthivel



PW Peter White April 7, 2023 09:29 AM UTC

Thanks for the reply. I’m not seeing exactly what code can be used to move the events in 15 minute increments only.



MS Muniappan Subramanian Syncfusion Team April 10, 2023 12:24 PM UTC

The current implementation of the Flutter Calendar does not have direct support to drag and drop the appointments in particular timeslots. You can achieve your requirement by using the “onDragEnd” callback from the Flutter calendar. We have prepared the simple sample, please find the attached sample for the same,


We hope that this helps you. If you need any further assistance, please let us know.


Attachment: sample_f1235b6a.zip

Loader.
Up arrow icon