This is a migrated thread and some comments may be shown as answers.

onclientappointmentclick custom resource

0 Answers 41 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ala eddine
Top achievements
Rank 1
Ala eddine asked on 06 Feb 2014, 04:14 PM
 
Hello,

I'm trying to custom selected appointment and the resource matched with.

the javascript bellow works when onclientappointmentclick is called ;
i can custom the selected appointment but the resource doesn't change !!!

                function appointmentclicked(sender, eventArgs) {
 
                  var  selectedAppointment = eventArgs.get_appointment();
                    selectedAppointment.set_cssClass("TimeSlotCssForUser");
                    var resourcesList= selectedAppointment.get_resources();
                    var myresource= resourcesList.getResource(0);
                    myresource.set_cssClass("TimeSlotCssForUser");
                }

thank you for the help ;)

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Ala eddine
Top achievements
Rank 1
Share this question
or