Recuring event not working for deleted items

Hi!

First of all, thanks for the great product!

When recurring event used, and deleted events defined by ‘none’ rec_type, seems that the solution is not working. Here is the json data input example:

[
{
id: 1,
start_date: ‘2013-07-09 05:25:00’,
end_date: ‘2038-01-19 00:00:00’,
text: ‘Playlist #1’,
rec_type: ‘day_1___#no’,
rec_pattern: ‘day_1___#no’,
event_pid: 0,
event_length: 21600,
color: ‘#0066CC
},
{
id: 2,
start_date: ‘2013-07-09 05:25:00’,
end_date: ‘2013-07-09 11:25:00’,
text: ‘Playlist #1’,
rec_type: ‘none’,
rec_pattern: ‘none’,
event_pid: 1,
event_length: 0,
color: ‘#0066CC
},
{
id: 4,
start_date: ‘2013-07-10 05:25:00’,
end_date: ‘2013-07-10 11:25:00’,
text: ‘Playlist #1’,
rec_type: ‘none’,
rec_pattern: ‘none’,
event_pid: 1,
event_length: 0,
color: ‘#0066CC
}
]

Please help!

Thanks,


Sandor Erdei

Hello,
in your example deleted events have incorrect event_length value. event_length must specify the timestamp(in seconds) of the deleted occurence

Check the “Editing/deleting a certain occurrence in the series” paragraph of this article
docs.dhtmlx.com/scheduler/recurring_events.html

Thanks! Problem solved!


S