Hello! I need to create view with some types of events using scheduler and treetimeline plugin.
Requirement - events with the same type must be situated in one timeline for one unit.
For example: two units (John and Bill) with datasources :
var johnSrc = [
{ start_date: "2009-06-30 09:00", end_date: "2009-06-30 11:00", text:"event1", section_id:20},
{ start_date: "2009-06-30 11:30", end_date: "2009-06-30 13:00", text:"event2", section_id:20},
{ start_date: "2009-06-30 14:00", end_date: "2009-06-30 16:00", text:"event1", section_id:20},
{ start_date: "2009-06-30 15:00", end_date: "2009-06-30 17:00", text:"event2", section_id:20}
];
var billSrc = [
{ start_date: "2009-06-30 09:00", end_date: "2009-06-30 11:00", text:"event1", section_id:20},
{ start_date: "2009-06-30 11:30", end_date: "2009-06-30 13:00", text:"event2", section_id:20},
{ start_date: "2009-06-30 14:00", end_date: "2009-06-30 16:00", text:"event1", section_id:20},
{ start_date: "2009-06-30 15:00", end_date: "2009-06-30 17:00", text:"event2", section_id:20}
];
I had experiments and understand that relative position events of different types depends on stacking start_time and end_time events.
I know that possible create one section for events with first type, another one - for events with second type and so on with common “over-section” (“First unit”).
But I want to do it when one section = one unit, and events with different types have different css classes.
Is it possible?