When updating an item’s rec_type, how do I get the scheduler to pick it up? I can change the title and other data, but I change the rec_type and the series doesn’t chage. Thanks
Hello @Larry,
You can update rec type of event through the lightbox form - by changing recurring properties and click “Save” button:
Or you can programmatically update it’s rrule
property, like follows:
function changeRec(id){
let ev = scheduler.getEvent(id);
ev.rrule = "FREQ=DAILY;INTERVAL=1";
scheduler.updateEvent(1)
}
Here is a demo(click "Update rrule button "):
https://snippet.dhtmlx.com/u1ilcmk8
Kind regards,