TimeLine View

hello,

I’ve a problem with the timeLine View :
I’ve 3 “room”.
The timeLine view is on 7 days and I start with the week view.
I’ve many event in each “room”.

The “area” for each room is not good :
If i try to add an event on the 2nd room, it add the event on the first room.

But if i go on the Month view or the day view and go back to the timeline view, it works good.

The attached file show a print screen that show the bad area (See the status bar and the mouse pointer)

Is it a known bug ?
Sébastien


No one ?
It seems to be due to the “multi_day” config to “True”.

Sébastien

Please share the configuration of timeline
Also, do you have any custom event handlers which can affect initial values of newly created event ?

I’ve reproduced this with a simple project (and only onmousemouve Handler).

My configuration (Full code) :

scheduler.locale.labels.timeline_tab = "Timeline";
scheduler.config.multi_day = true;
scheduler.createTimelineView({
    name: "timeline",
    x_unit: "day",//measuring unit of the X-Axis.
    x_date: "%D %j", //date format of the X-Axis
    x_step: 1,      //X-Axis step in 'x_unit's
    x_size: 7,      //X-Axis length specified as the total number of 'x_step's
    x_start: 0,     //X-Axis offset in 'x_unit's
    x_length: 7,    //number of 'x_step's that will be scrolled at a time
    y_unit:
            [{ key: 1, label: "Room 1" },

{ key: 2, label: “Room 2” },
{ key: 3, label: “Room 3” }],

    //scheduler.serverList("timeline_sections", initArray),//initArray,
    y_property: "room_id",
    event_dy: 50,
    render: "bar",             //view mode
    round_position: true,
    section_autoheight:true
});


//INIT
scheduler.init('scheduler_here', new Date(), "week");

var initArray = [];



scheduler.parse([
    {
        text: "Conference", start_date: "02/13/2014 12:00", end_date: "02/13/2014 21:00",
        room_id: "1"
    },
    {
        text: "Conference", start_date: "02/14/2014 14:00", end_date: "02/15/2014 24:00",
        room_id: "1"
    },
    {
        text: "Conference", start_date: "02/14/2014 12:00", end_date: "02/15/2014 21:00",
        room_id: "1"
    },
            {
                text: "Conference", start_date: "02/14/2014 12:00", end_date: "02/15/2014 21:00",
                room_id: "1"
            },
                    {
                        text: "Conference", start_date: "02/14/2014 12:00", end_date: "02/15/2014 21:00",
                        room_id: "1"
                    },
    {
        text: "Meeting", start_date: "02/13/2014 09:00", end_date: "02/13/2014 21:00",
        room_id: "2"
    },
    {
        text: "Conference", start_date: "02/13/2014 15:00", end_date: "02/13/2014 15:00",
        room_id: "3"
    }
], "json");


scheduler.attachEvent("onMouseMove", function (id, e) {

    if (scheduler._mode == "timeline") {
        unitId = scheduler.getActionData(e).section;
        window.status = "Room" + unitId

    }
})

Sébastien.

The same code works correctly for me.
Please try to update dhtmlxscheduler_timeline.js with the attached one.
dhtmlxscheduler_timeline.zip (7.5 KB)

Hello,

Still the same.
To reproduce, you should have

  • scheduler.config.multi_day = true;
  • multiple event on many days.

Start,
Go on the day or week view that contains those events on many days.
Then go to Timeline view.

Thanks for the help,
Sébastien

Hello,
i think the bug has been fixed in the dev version of the scheduler. Try to use the latest codebase, can you reproduce the issue with it?
dhtmlxScheduler_dev_140217.zip (218 KB)

Hello,

The “dhtmlxScheduler_dev_140217.zip” have resolved the issue.
Thanks a lot.

Sébastien.

Hello,

It’s not a timeLine’s bug but it’s due to the “dhtmlxScheduler_dev_140217.zip” of this thread.
In month view if i clic to add an event and cancel, the view is bugged (See attachement).

Sébastien


Hello,
the issue has been confirmed. I’ll post a fixed version here in the nearest time

Hello,

Thanks for the answer.
No date for the release ?

Thanks a lot again.
Sébastien

Any News for the release date ?