Wie aktualisiere ich eine Veranstaltung in fullCalendar?
Ich möchte meinen json im Vollkalender aktualisieren. Hier ist, was ich genau versuche. Ich habe eine JSON-Zeichenfolge, die ich direkt in die Ereignisobjekte im vollständigen Kalender einspeisen möchte.
->
var JSON[
{
"id": "1", // Optional
"title": "Demo event", // Required
"start": "2013-08-28 10:20:00", // Required
"end": "2013-08-28 11:00:00", // Optional
"allDay": false, // Optional
"url": "http://google.com", // Optional, will not open because of browser-iframe security issues
"className": "test-class", // Optional
"editable": true, // Optional
"color": "yellow", // Optional
"borderColor": "red", // Optional
"backgroundColor": "yellow", // Optional
"textColor": "green" // Optional
},
{
"id": "2", // Optional
"title": "Demo event 2", // Required
"start": "2013-08-27 10:20:00", // Required
"end": "2013-08-27 11:00:00", // Optional
"allDay": false, // Optional
"url": "http://google.com", // Optional, will not open because of browser-iframe security issues
"className": "test-class", // Optional
"editable": true, // Optional
"color": "yellow", // Optional
"borderColor": "red", // Optional
"backgroundColor": "yellow", // Optional
"textColor": "green" // Optional
}
];
,
Dann möchte ich den JSON bei einem Dropdown-Ereignis (das nicht in der Geige angezeigt wird) in einen neuen String ändern und versuchen, das neue Ereignis in den Kalender aufzunehmen.
Der Vollkalender wird nicht wirksam.
http://jsfiddle.net/pratik24/u8Ksw/28/
Danke für die Hilfe. bin dankbar.