parse
Description
Lädt Daten aus einer clientseitigen Ressource
parse: (data: any) => void
Parameters
data- (erforderlich) object - ein String oder Objekt, das Daten darstellt
Example
scheduler.parse([
{ start_date: "2027-05-13 6:00", end_date: "2027-05-13 8:00", text: "Event 1" },
{ start_date: "2027-06-09 6:00", end_date: "2027-06-09 8:00", text: "Event 2" }
]);
Related samples
Migration
Ab Version 5.2 und später erkennt der Scheduler automatisch das Datenformat.
Vor Version 5.2 hatte die Methode zwei Parameter:
data- (object) ein String oder Objekt, das Daten darstellttype- (string) optional, ('json', 'xml', 'ical') der Datentyp. Der Standardwert ist 'xml'
Related API
Related Guides
Change log
- Der zweite
type-Parameter der Methode wurde in v5.2 entfernt.
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.