Required library edition: Required library file: dhtmlxscheduler_serialize.js
Return data from the scheduler, as ICal string
var str = scheduler.toICal(); //or var str = scheduler.toICal("My calendar");
Custom attributes are not supported.