search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

ScrollTo Problem

Asked by Tom Tailer
5 years ago.

Hello,

wen i use:
var dp = new DayPilot.Scheduler("dp");
dp.viewType = "Days";

ist dp.scrollTo(new DayPilot.Date()); not in use!!!

is this a bug?

thanks, Tim

Answer posted by Tom Tailer
5 years ago.

This is my fix:
jquery('.scheduler_default_scrollable').animate({
scrollLeft: jquery('.scheduler_default_separator').offset().left/2-100
}, 1000);

Thanks!

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.