jQuery UI Widgets Forums Scheduler Yearly Recurrence not working

This topic contains 1 reply, has 2 voices, and was last updated by  admin 7 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Yearly Recurrence not working #96205

    yougotnet
    Participant

    Below is your sample that I only added a recurrence to the first appointment and the calendar won’t load with it. What is the problem with the recurrence pattern, it is what I took from your documentation.

    $(document).ready(function () {
        var appointments = new Array();
    
        var appointment1 = {
        id: "id1",
        description: "George brings projector for presentations.",
        location: "",
        subject: "Quarterly Project Review Meeting",
        calendar: "Room 1",
        start: new Date(2015, 10, 23, 9, 0, 0),
        end: new Date(2015, 10, 23, 16, 0, 0),
        recurrence: 'FREQ=YEARLY;COUNT=30;BYMONTH=3'
    }
    
    appointments.push(appointment1);
    
    // prepare the data
    var source =
    {
        dataType: "array",
        dataFields: [
            { name: 'id', type: 'string' },
            { name: 'description', type: 'string' },
            { name: 'location', type: 'string' },
            { name: 'subject', type: 'string' },
            { name: 'calendar', type: 'string' },
            { name: 'start', type: 'date' },
            { name: 'end', type: 'date' },
            { name: 'recurrence', type: 'string' }
        ],
        id: 'id',
        localData: appointments
    };
    var adapter = new $.jqx.dataAdapter(source);
    $("#scheduler").jqxScheduler({
        date: new $.jqx.date(2015, 11, 23),
        width: 850,
        height: 600,
        source: adapter,
        view: 'weekView',
        appointmentOpacity: 0.7,
        showLegend: true,
        ready: function () {
            $("#scheduler").jqxScheduler('ensureAppointmentVisible', 'id1');
        },
        resources:
        {
            colorScheme: "scheme05",
            dataField: "calendar",
            source:  new $.jqx.dataAdapter(source)
        },
        appointmentDataFields:
        {
            from: "start",
            to: "end",
            id: "id",
            description: "description",
            location: "place",
            subject: "subject",
            resourceId: "calendar",
            recurrencePattern: 'recurrence'
        },
        views:
        [
            'dayView',
            'weekView',
            'monthView'
        ]
    });
    });
    Yearly Recurrence not working #96207

    admin
    Keymaster

    Thank you for the feedback about the jQWidgets Scheduler.

    We confirm this Scheduler behavior. It will be resolved as soon as possible.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.