Edit Events on Timeline
Brought to you by:
wjosdejong
In the previous version of the library (before yesterday) for the editing of the events I used the following code:
DataTable dataTable = timeline.getData();
dataTable.setValue(index, DATE_START, value);
dataTable.setValue(index, CONTENT, label);
timeline.redraw();
Now it's not more possible. I tried to modify the code keeping a Datatable variable , make the changes on it and then:
timeline.setData(dataTable);
timeline.redraw();
But I get a DOM exception when I modify and event or I delete an Event, not when I add an event. ... if you need it I can give you the text of the Exception.
I need this operations because I manage the Timeline from an external Form.