Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gonzalo on Jul 08, 2009 08:28
open dhtmlx forum
Scheduler Scrolling

I read that in the new version of the scheduler it will be possible to scroll the scheduler to any hour. Can anyone explain me how to do that in the beta version? I know that in the current version the following code would work, but I want to know how to do it in the beta.

scheduler._click.dhx_cal_tab=function(){

var mode = this.getAttribute("name").split("_")[0];
scheduler.setCurrentView(scheduler._date,mode);
if(mode=="week"||mode=="day")
scheduler._els["dhx_cal_data"][0].scrollTop=scheduler.config.hour_size_px*8;
}
scheduler.init(...);

Thanks in adavnce,
Gonzalo
Answer posted by Support on Jul 08, 2009 09:25
It still not available in latest codebase, in final code it will be possible to define start-scroll position through 
                     scheduler.config.scroll_hour
Answer posted by Gonzalo on Jul 08, 2009 09:55

Nice!, thanks for your reply.

Gonzalo.