jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: recurrencePattern recurrencePattern #100174

    gduncan
    Participant

    I know this is a very old post but I ran into the same issue with the error message “c.recurrencePattern.setFrom is not a function” and this was the only post that mentions the error. At first it didn’t help me figure out my issue because I’m using .Net rather than PHP as my backend code but I eventually got it.

    You cannot return an empty string for the recurrencePattern. You can return NULL.

    In my opinion this is a bug in the system. The jqxScheduler should treat an empty string in the recurrencePattern as if it were NULL.


    gduncan
    Participant

    I was able to fix this by hard coding the resources > source. I thought you had to bind the resource to a dataField. I was able to get around it this way:

        resources:
         {
              colorScheme: "scheme02",
              source: ['Room 1', 'Room 2', 'Room 3', 'Room 4', 'Room 5', 'Room 6'] //new $.jqx.dataAdapter(source)
         },
Viewing 2 posts - 1 through 2 (of 2 total)