toICal

converts scheduler's data to the ICal format

string toICal( [string header] );

Parameters

headerstringsets the value for the content's header field

Returns

stringa data string in the ICal format

Example

var str = scheduler.toICal();
//or
var str = scheduler.toICal("My calendar");

Required extension: ext/dhtmlxscheduler_serialize.js

Related samples

Details

Custom attributes are not supported.

See also
Back to top