Trouble with blockTime

Hi all, I’m working on Asp.net MVC application using the Dhtmlx Scheduler.

In my application, I need to set unique hours for the items along the y_axis (engineers in my case).
When trying to add a simple blockTime, it does not appear to be blocking the specified time.

My config and script:

        var engineers = @Html.Raw(Json.Encode(ViewBag.engineers))
        var statuses = @Html.Raw(Json.Encode(ViewBag.statusList))

        scheduler.locale.labels.timeline_tab = "Timeline";
        scheduler.locale.labels.timeline2_tab = "Timeline2";
        scheduler.locale.labels.section_custom = "Section";
        scheduler.config.details_on_create = true;
        scheduler.config.details_on_dblclick = true;
        scheduler.config.xml_date = "%Y-%m-%d %H:%i";
        scheduler.config.limit_view = false;
        scheduler.config.mark_now = false;

        scheduler.createTimelineView({
            name: "timeline",
            x_unit: "minute",
            x_step: 30,
            x_start: 16,
            x_date: "%H:%i",
            x_size: 24,
            x_length: 48,
            y_unit: engineers,
            event_dy: 'full',
            y_property: "engineer_id",
            render: "bar"
        });

        //Days: monday - friday, Zones/Hours: 7pm - 12am
        scheduler.blockTime({
            days: [1, 2, 3, 4, 5],
            zones: [19 * 60, 24 * 60],
            sections: {
                timeline: [0, 1406043152655, 1406210621679]
            }
        });

A xml containing all the events on my page:

<data>
  <event>
    <id><![CDATA[0]]></id>
    <start_date><![CDATA[2014-07-24 10:15]]></start_date>
    <end_date><![CDATA[2014-07-24 12:00]]></end_date>
    <text><![CDATA[Task 1]]></text>
    <engineer_id><![CDATA[020602]]></engineer_id>
    <color><![CDATA[Orange]]></color>
    <status><![CDATA[Dispatched]]></status>
  </event>
  <event>
    <id><![CDATA[1406043152655]]></id>
    <start_date><![CDATA[2014-07-24 09:00]]></start_date>
    <end_date><![CDATA[2014-07-24 11:00]]></end_date>
    <text><![CDATA[Task 10]]></text>
    <engineer_id><![CDATA[010201]]></engineer_id>
    <color><![CDATA[DarkGreen]]></color>
    <status><![CDATA[undefined]]></status>
  </event>
  <event>
    <id><![CDATA[1406210621679]]></id>
    <start_date><![CDATA[2014-07-24 12:30]]></start_date>
    <end_date><![CDATA[2014-07-24 14:30]]></end_date>
    <text><![CDATA[Task 63]]></text>
    <engineer_id><![CDATA[020525]]></engineer_id>
    <color><![CDATA[Red]]></color>
    <status><![CDATA[Travel]]></status>
  </event>
</data>

Any help would be greatly appreciated!

Hi,
the property “timeline” in the block time configuration should contain ID of the section - engineers in your case:

sections: { timeline: [020602, 010201] }
But it seems you pass the ID of the event :

<event> <id><![CDATA[1406043152655]]></id> ...