DHTMLX Docs & Samples Explorer

Common problems and questions

Scheduler doesn't render correctly

Check styles of the scheduler container. It must have a valid size in pixels of percents. If size defined in percents - be sure that parent container has some height settings as well.

When scheduler placed directly in body , you need to have next css style, to use percent based height correctly

	html, body{
		margin:0px;
		padding:0px;
		height:100%; /*mandatory*/
		overflow:hidden;
	}
Scheduler renders in IE incorrectly

Be sure that you page use a full doctype. Scheduler can work correctly in standard mode of IE6, IE7 and IE8. Scheduler not purposed to be used with quirks mode of IE.

Multi day events are not rendered in daily and weekly views

Can be enabled by adding next line

  scheduler.config.multi_day = true;
Scheduler fails to init with custom view activated (custom views)

Custom view must be defined on moment of initialization, if you want to use it as default one. On other hand, default templates will be initialized only after scheduler initialization, and can't be used for new view creating before that moment. To catch the moment, when templates are ready and active mode is not set yet - you can use onTemplatesReady event.

          scheduler.attachEvent("onTemplatesReady",function(){
                 //here, you can place code for custom view creation
          })
          scheduler.init(container, date, "custom view name");