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.
Unfortunately, activation email could not send to your email. Please try again.

Add Appointment to SfSchedule

Thread ID:

Created:

Updated:

Platform:

Replies:

121804 Jan 27,2016 02:50 AM Jan 28,2016 05:31 AM Android 1
loading
Tags: SfSchedule
Val Okafor
Asked On January 27, 2016 02:50 AM

Hello SF support team, I want to know if there is a built in form to add an appointment to Android SfSchedule that can be triggered by onClick event. I have gone completed the walk through on how to add an appointment programmatically but I am wondering if there is a a built in form to do so and how to show this form
If there is no built in form, and I need to create say a DialogFragment to input the appointment details, how do I access SfSchedule in this Dialog?
Thanks
Val

Swathi Gopal [Syncfusion]
Replied On January 28, 2016 05:31 AM

Hi Val,

 

Thank you for using Syncfusion products.


Currently there is no built-in editor support available in Schedule control for Android to add/edit appointments. It can be achieved by using ScheduleTappedListener. It will be triggered while tap on the schedule cell (timeslot) as well as on the appointment in the schedule control. As the ScheduleTappedListener contains selected appointment along with other related information in the event arguments, it can be used to edit the existing appointment also. Please refer the sample in the below location to add and edit appointments in Schedule control using ScheduleTappedListener.


Sample location: Essential Studio -> Android -> Schedule -> Appointment Editor

File installation location: SampleBrowser\AndroidStudio\app\src\main\java\samplebrowser\syncfusion\com\samplebrowserandroid\Samples\Schedule\AppointmentEditor.java


Appointments can be added to the Schedule control by adding the data to Appointments property of Schedule control from the required form (for instance, DialogFragment) and it can be edited through ScheduleTappedListener available in the control.


If the provided solution doesn’t meet your requirement, please revert us back with more information, so that we could analyze on it and provide you better solution.


Regards,

Swathi G


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;