Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rose on Jan 05, 2010 05:00
open dhtmlx forum
Scheduler - Individual units weekly/monthly view

Hi there,
is there a built-in way in which the scheduler supports drilling down into weekly or monthly views for individual units (without achieving this through customising the sql query)?
At the moment I have a units, daily, weekly & monthly tabs - the units showing all units in individual columns for a particular day. All the other views combine all units into a single view, which is nice too, but I would like in particular to have weekly individual unit views too.

thank you,
Rose
Answer posted by Alex (support) on Jan 05, 2010 06:28

Hello,

you can try to use filter functionality. For example:

scheduler.filter_month=function(id,ev){

  return ev.user_id == 1;

}

scheduler.filter_week=function(id,ev){

  return ev.user_id == 1;

}

In this case only events with user_id=1 will be shown in month and week views.