Required library edition: Required library file: dhtmlxscheduler_serialize.js
Return data from the scheduler, as JSON string ( not an object! )
var str = scheduler.toJSON();
Custom attributes can be configured if necessary.