onclientappointmentclick custom resource

1 posts, 0 answers
  1. Ala eddine
    Ala eddine avatar
    19 posts
    Member since:
    Feb 2012

    Posted 06 Feb 2014 Link to this post


    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();
                        var resourcesList= selectedAppointment.get_resources();
                        var myresource= resourcesList.getResource(0);

    thank you for the help ;)

Back to Top