我正在尝试将数据从xml加载到dhtmlxScheduler
我的代码是:
function init()
{
scheduler.locale.labels.timeline_tab = "Timeline";
scheduler.locale.labels.section_custom="Section";
scheduler.config.details_on_create=true;
scheduler.config.details_on_dblclick=true;
scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.init('scheduler_here',new Date(2011,4,24),"timeline");
scheduler.load("data.xml","xml");
}