parse

loads data from a client-side resource

void parse(object data);

Parameters

dataobjecta string or object which represents data

Example

scheduler.parse([
     { start_date:"2013-05-13 6:00", end_date:"2009-05-13 8:00", text:"Event 1"},
     { start_date:"2013-06-09 6:00", end_date:"2009-06-09 8:00", text:"Event 2"}
]);

Related samples

See also
Back to top