Hi there,
I'm searching for a method to hide the headerlevels completely. In my case i know, that there are plenty of informations in the events, so the headerLevels are not needed to display.
For example i have this little timeline.
Here i want to remove the first row (1/1 | 1/2 | 1/3 | 1/4 ...). In the Listgrid there is an option called showHeader with does exactly what i'm trying to get, but because Timeline extends Calendar, which extends canvas, this method is not available.
However is there an option i haven't seen to achieve this?
In addition I want to remove the grey border around the timeline. Setting the border-attribute in the initialization doesn't seem to remove the border, but add an additional border to it:
(For visualization I have set it to "1px solid red", later i want to use "none")
Here is the example code:
I'm searching for a method to hide the headerlevels completely. In my case i know, that there are plenty of informations in the events, so the headerLevels are not needed to display.
For example i have this little timeline.
Here i want to remove the first row (1/1 | 1/2 | 1/3 | 1/4 ...). In the Listgrid there is an option called showHeader with does exactly what i'm trying to get, but because Timeline extends Calendar, which extends canvas, this method is not available.
However is there an option i haven't seen to achieve this?
In addition I want to remove the grey border around the timeline. Setting the border-attribute in the initialization doesn't seem to remove the border, but add an additional border to it:
(For visualization I have set it to "1px solid red", later i want to use "none")
Here is the example code:
Code:
isc.Timeline.create({ ID : "timeline", height : 58, showDayHeaders : false, startDate : new Date(2015, 0, 1), endDate : new Date(2015, 0, 31), lanes : [{ name : "charlesMadigen", title : "Charles Madigen", height : 30 } ], headerLevels : [{ "unit" : "day", "headerWidth" : 30 } ], laneFields : [{ name : "title", title : " ", width : 100 } ], canEditLane : true, showEventDescriptions : false, labelColumnWidth : 200, showControlsBar : false, border : "1px solid red" });
Comment