Hi,
When I set some user data with addEvent or setUserData function, toJson can’t serialize the new property.
I found that adding these property when parse (with null value) it works.
For example:
var evento = {
start_date:ini,
end_date:fin,
text: this.XFUNCION,
section_id: this.XXLEGAJO,
esTNC: '1',
[b]seopId: this.rowIdSEOP [/b]// new string property
};
var eventoId = scheduler.addEvent(evento)
// or simply
scheduler.setUserData(eventoId, 'seopId', "value")
In this case scheduler.toJson() doesn’t show the property seopId.
It’s a bug ?