Hi all,
I’m trying to load recurring event with the following setup, but the event just wont be recurring:
scheduler.config.include_end_by = true;
scheduler.config.repeat_date = “%m/%d/%Y %H:%i:%s”;
…
scheduler.init(‘scheduler_here’,new Date(),“timeline”);
scheduler.parse([
{room_id:1,
start_date:“01/13/2015 10:00:00”,
end_date:“01/13/2015 11:00:00”,
text:“some_text”,
details:"",
rec_type:“day_1___”,
event_length:“3600”,
event_pid:“0”
}
],“json”);
What is the problem with this setup? Thanx a lot!
Hi,
make sure you’ve setup timeline with a correct y_property value. The event is displayed correctly in our example
docs.dhtmlx.com/scheduler/snippet/a390dd9c
You set up your event with rec_type:“day_1___”, that should means, if i step to the next day, this event has to be there also. But if i step there in your example, still cant see this ‘some_text’ event, only on 01/13.
thanks for your helping hand!
So have you got any advice how to create an event recurring? If i use lightbox and set up recurring mode, that works, but since i have a fully custom popup a have to create it manually via api (scheduler.parse(bookObj,‘json’)), and it just wont work.
thanks!
it was my mistake The end date was in an incorrect format!