Hi,
I know there is a way to set default scroll position in scheduler.config.scroll_hour in week view. Is there a way to adjust the scroll dynamically? For example, when a user click on an unscheduled event outside of the scheduler, a highlight will be added on the scheduler and the scheduler will scroll to the position of the highlight region.
function highlightOnScheduler(start, end) {
selectedStart = new Date(start);
selectedEnd = new Date(end);
***Do something here so it scrolls to the desired position***
scheduler.setCurrentView(selectedStart );
scheduler.markTimespan({
start_date: selectedStart,
end_date: selectedEnd,
css: "highlight_section"
});
}
Thanks,
Nick