Navigate from one event to the next while in timeline

I am attempting to jump (navigate) from one event to the other while in timeline mode. I have attempted to jump to a new test date in the timeline using the following method:

$(‘#test_update’).click(function() { scheduler.setCurrentView(“21-05-2009”, “week”);});

Here is how the timeline looks before the button click:

Unfortunately, when the button is clicked the timeline ends up looking like this. There is no script error, but clearly something is amiss :slight_smile:

So my question is, how can I jump from one event to the other while in timeline mode and keep the same view (weekly)

Cheers,

Pipes

Your code is mostly correct, just change the date as

scheduler.setCurrentView(new Date(2009,4,21), "week");

Excellent! Thank you. Worked liked a charm.

Cheers,

Pipes