0

I need to display a weekly shedule timeline, detailed by days, persons and their work hours. Please see this screenshot for example.

What I already tried:

Approach 1) display a timeline for one day (jsfiddle), but I can't duplicate it for several days. Result screenshot

    scheduler.createTimelineView({
    name: "timeline",
    x_unit: "hour",
    x_date: "%H",
    days:7,
    x_step: 1,
    x_size: 12,
    x_start: 9,
    y_unit: scheduler.serverList("sections"),
    y_property: "section_id",
    render:"days", 
    });

Approach 2) display timeline for multiple days, hours and persons (jsfiddle), but I can't swap rows and columns. Result screenshot

    scheduler.createUnitsView({
        name:"week_unit",
        property:"section_id",
        list:sections,
        days:7
    });

How can I either display multiple days (approach1) or swap columns/rows (approach 2)?

1 Answers1

0

Please read in the article how to create multiple instances of dhtmlxScheduler, i.e. multiple timelines on the same page.

Regarding the scale configuring - you can add the second scale with time - example.

Also I suggest you to check all samples with the Timeline view and the article that describes possibilities of the view, that will be helpful while you are working with Timeline.

Polina
  • 412
  • 2
  • 6