I want hide the Timeheaders on the Calendar, i use DayPilot Pro for Java.
I do not get the desired result - i have allways a Line on the Header :(
I tested following usages on Java-Side:
- "getTimeHeaders().add(new TimeHeader(GroupBy.NONE));"
- Result: there is 1 blank line - see Picture
- no Usage from "getTimeHeaders().add" or "getTimeHeaders().clear();"
- occur 2 lines with the date - see Picture
Following code on JavaScript-Side:
- dp.showBaseTimeHeader = false;
- dp.timeHeaders = [];
Important Information:
if i add the Resources and Events only via Javascript, it works fine.
Like....
dp.resources = [
{name: "Date", id: "A"},
{name: "Room B", id: "B"},
{name: "Room C", id: "C"}
];
dp.events.list = [
{
start: "2016-01-23T12:00:00",
end: "2016-01-24T12:00:00",
id: "1",
resource: "A",
text: "26."
},