Setting Timeline View Hour & Minute Manually

Hi,

I’m currently using Tree Timeline View for displaying data. I’ve set the timeline view like this:

scheduler.createTimelineView({ section_autoheight: false, name: "timeline1", x_unit: "minute", x_date: "%H:%i", x_step: 1, x_size: 20, x_start: (new Date().getHours() * 60 / 1) + ((~~(new Date().getMinutes() / 10) - 1) * 10 / 1), x_length: 5, y_unit: dx_resources, y_property: "section_id", render: "tree", // dy: 20, folder_dy: 20, event_dy: 40 });

Now I need to set the hour and minute manually.

For example, when timeline start (scheduler._min_date) is 2014-12-10 23:00:00 , I want to set it to 2014-12-10 08:15:00 - how can I do that via Javascript code?

Thanks.

Hello,
you can redefine a ‘view_start’ function, that sets the displayed date of the view, please check this post
viewtopic.php?f=6&t=37863&p=118003&hilit=timeline+start#p117825