How to show limited period in scheduler

Hello All,

I am facing problem regarding dhtmlx mobile scheduler.

I want to show limited period in scheduler. So I used below code:

$$(’scheduler’).$$(’dayList’).define(”firstHour”, 8);
$$(’scheduler’).$$(’dayList’).define(”lastHour”, 19);

it works with month and list view but doesn’t display events in day view (Or displays it on wrong time).

Please help me to resolve this problem.

Thanks in Advance,

-Bhatu

Hello,

we have reproduced and fixed the problem. Try attached library instead of the original
dhtmlxscheduler_mobile.zip (39.3 KB)

Thanks Alexandra,

It works now!! Thank you very much.

One more problem I am facing here is that,

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.

We have reproduced the problem. It will be fixed in the next version.

As the workaround please try to show “Day” view after data are loaded:

$$("scheduler").load("data.xml","scheduler",function(){ $$('scheduler').$$('day').show(false); $$('scheduler').$$('buttons').setValue('day'); });

I posted this question on a different thread. Should have posted it here.

I can get this to work, but what I really want to do is shade the non-work area.

Events can still be displayed in the non work area, just like any other event.

The shading is simply a visual for the user…

Any ideas?

Thanks for your help

Jim