How to make this 3rd column independent from 2?
I need the 1 & 2 columns as AM(00.00 - 12.00) PM(12-00 - 00-00), and 3rd leave blank…
Help me plz with such a solution…
I guess we need to provide some changes in dhtmlxscheduler_timeline.js file?
I have the following settings:
scheduler.createTimelineView({
name: ‘timeline’,
section_autoheight: false,
x_unit: ‘hour’,
x_date: ‘%A’,
x_step: 8, // change to 12 - 2 columns AM/PM
x_size: 62,
x_length: 62,
folder_dy:20,
dy:30,
dx: 150, // the width of the column with the sections’ names
y_unit:[
{key:“teams”,
label:“Team A”, open: true, children:[
{key:“t1”, label:“Kate Moss”},
{key:“t2”, label:“Dian Fossey”},
{key:“t3”, label:“James Smith”}
]},
{label:“Team B”, children:[
{key:“t4”, label:“David Miller”},
{key:“t5”, label:“George Lucas”},
{key:“t6”, label:“Alex White”}
]}
],
y_property: ‘section_id’,
render: ‘tree’,
round_position: true,
second_scale: {
x_unit: ‘day’,
x_date: “%j”, // “%j” - // number of the day
x_step: 1, //to show the all days
x_size: 62, // number of days in month( max)
x_start: 0, // zero offset from a current calendar date
x_length: 62 //the number of days that goes back and forward on prev and next button
}
});