Hello,
I'm trying to fix the position of the current timeline and scrolling horizontally the scheduler every timeline refresh.
Do you have an example or a suggestion about this case?
Thanks for your support!
Support Forum
You can use our API to scroll the timeline easily. See this demo: https://bryntum.com/examples/scheduler/scrollto/
I already implement the scrollToDate() function in a timer that every 30 seconds scrolls the scheduler.
I wondered if there is an event triggered by the update of the timeline position.
Thank you!
let timer = interval(30000);
timer.subscribe(t => {
this.schedulerEngine.scrollToDate(
DateHelper.add(new Date(), 0, 'days'),
{
highlight: false,
animate : {
easing : 'easeFromTo',
duration : 1000
},
block : 'center'
}
);
});
Thank you!
Is this what you're looking for: https://www.bryntum.com/docs/scheduler/ ... AxisChange ?
Pavlo Miklashevych
Sr. Frontend Developer