how to ....

How get working GRID and Scheduler on one page in Layout ???

[code] function doOnLoad() {
myLayout = new dhtmlXLayoutObject({
parent: “layoutObj”,
pattern: “3L”,
cells: [{id: “a”, text: “dhtmlxGrid”}]
});

		myGrid = myLayout.cells("a").attachGrid();
		myGrid.setImagePath("../../../codebase/imgs/")
		myGrid.loadXML("../common/grid.xml?etc="+new Date().getTime());
		
		scheduler.config.multi_day = true;
		scheduler.config.xml_date="%Y-%m-%d %H:%i";
		myLayout.cells("b").attachScheduler(new Date(2009,05,30), "week");
		scheduler.load("./data/events.xml")
	}[/code]

getting error 04_attach_components/[object%20Arguments]
and why dhtmlxscheduler.js:544 must be dhtmlx.js

Hello,
please attach a complete example (html page with required js/css/xml files)

i change load order and it works …

thx for response