Add userdata to an existent event

Hi,

I think it’s an easy thing, but I don’t know how to do it. I’ve an existing event created with a custom lightbox and when I save it I’d like to modify this event and add custom properties. Reading the “addEvent” method I see that is it possible to add ‘userdata’ properties to an event. How can I add userdata to an existing event?

I can do that: ev.start_date = … , but I can’t do ev.custom_property = … (ev.custom_property is undefined)

Thx

but I can’t do ev.custom_property
Actually you can

scheduler.getEvent(id).custom_property = 123;

The above is a valid code, and during data saving, custom property will be sent to server side along with other data.