Skip to content Skip to sidebar Skip to footer

Repeat Events On Selected Days In Fullcalendar

How i can create repeating events on selected days, for example in monday and tuesday. My event enter code here array data from json: 'title': 'Test', 'allDay': false, 'start': '20

Solution 1:

You should create your events as different events, with same Id.

From documentation

id String/Integer. Optional

Uniquely identifies the given event. Different instances of repeating events should all have the same id.

So your events should be like:

myevents = [
   {
      "id":1"title": "Test",
      "allDay": false,
      "start": "2014-12-12 9:30:00",
      "end": "2014-12-12 13:00:00"
   },
   {
      "id":1"title": "Test",
      "allDay": false,
      "start": "2014-12-13 9:30:00",
      "end": "2014-12-13 13:00:00"
   },
   {
      "id":1"title": "Test",
      "allDay": false,
      "start": "2014-12-14 9:30:00",
      "end": "2014-12-14 13:00:00"
   }
]

Post a Comment for "Repeat Events On Selected Days In Fullcalendar"