Recurring json but it can't repeat


#1

the json info like this:

{“data”: [{“id”:“01”,“start_date”:“2018-12-20 09:00”,“end_date”:“2018-12-20 11:20”,“text”:“English”,“rec_type”:“week_1___4#no”,“event_pid”:"",“event_length”:“8400”},{“id”:“11”,“start_date”:“2018-12-21 09:00”,“end_date”:“2018-12-21 11:20”,“text”:“English”,“rec_type”:“week_1___5#no”,“event_pid”:"",“event_length”:“8400”},{“id”:“21”,“start_date”:“2018-12-22 09:00”,“end_date”:“2018-12-22 11:20”,“text”:“English”,“rec_type”:“week_1___6#no”,“event_pid”:"",“event_length”:“8400”},{“id”:“31”,“start_date”:“2018-12-23 09:00”,“end_date”:“2018-12-23 11:20”,“text”:“English”,“rec_type”:“week_1___7#no”,“event_pid”:"",“event_length”:“8400”}]}

It can be showed in initialization

But when I switch to the next week

disappeared

who can help me?

Thanks


#2

Hi,
end_date of the recurring events is the end date of the last event in a series in the format ‘yyyy-mm-dd 00:00:00’.
Read also about event_length in the guide: https://docs.dhtmlx.com/scheduler/recurring_events.html#serversideintegration

According to your data, each record has only one occurrence. If you update end_date, you will get more occurrences. Check it in the demo: http://docs.dhtmlx.com/scheduler/snippet/03564b08


#3

THANKS :muscle::muscle::muscle: