Scheduler in day view as default

Hi All,

I want to show scheduler in day view as default. So I am using below code to do that.

$$(‘scheduler’).$$(‘day’).show();
$$(‘scheduler’).$$(‘buttons’).setValue(‘day’);

It show day view as default, but result is not proper.

Please help me to resolve this issue. Please file attachment to view the issue.

Thanks in Advance,
-Bhatu Pawar


Hi,

please try to set default view after data are completely loaded. Locally this workaround helped:

$$("scheduler").load(url,"scheduler",function(){ $$('scheduler').$$('day').show(false); /*false in show method disables animation*/ $$('scheduler').$$('buttons').setValue('day'); });

We’ll try to solve this issue in the next version.