Hello,
Apologies if this question is too simple. I'm trying to write code that
dynamically add events to an existing timeline via ajax with this jquery snippet:
newData = jQuery.parseJSON(data);
for (var i=0; i newData.events.length; i++){
var event = newData.events[i];
var evt = new
On Nov 1, 2011, at 8:51 AM, Alvin Cheung wrote:
Hello,
Apologies if this question is too simple. I'm trying to write code that
dynamically add events to an existing timeline via ajax with this jquery
snippet:
newData = jQuery.parseJSON(data);
for (var i=0; i newData.events.length; i++){
var
I see. Thanks. Then is it possible to dynamically add decorators?
Alvin
On 10/27/2011 12:16 PM, Michael Nosal wrote:
Yes, this is possible, and quite easy to do.
You do need to add a method to set the times for your decorator and call
.paint() on the decorator: