search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler onload only renders half the area

Asked by Viktor Eriksson
11 years ago.

It only renders half of the background colors when initialized inside a div display:none.
I have :
dps.dynamicLoading = false;
dps.dynamicEventRendering = "Disabled";

When i set it visible I also do this:
this.dps.resize();
this.dps.show();

But it doesnt help.

Comment posted by Viktor Eriksson
11 years ago.

I also tried dps.update() but that just made it worse

Comment posted by Dan Letecky [DayPilot]
11 years ago.

This is a bug, indeed. It will be addressed in the 7.5 release.

Comment posted by Viktor Eriksson
11 years ago.

This is still an issue in 7.5.8328

Comment posted by Dan Letecky [DayPilot]
11 years ago.

Please try using .api = 1. That will fix the issue.

The .api = 2 (default in the JavaScript and Java versions) assumes you are handling the dynamic loading using the onScroll event:

http://api.daypilot.org/daypilot-scheduler-onscroll/

This is of course incorrect for the Java version. It will be fixed soon.

Comment posted by Viktor Eriksson
11 years ago.

Doesnt seem to solve the problem :/
Here is a video showing the problem, I am not using the gantt but I get the same behaviour:
https://www.youtube.com/watch?v=2zb1XMMPoSg

Comment posted by Dan Letecky [DayPilot]
11 years ago.

Oh, I see now.

The onScroll event is only related to dynamic event loading.

Let me check it.

Answer posted by Dan Letecky [DayPilot]
11 years ago.

This bug should be fixed now in build 7.5.8329.

See the sandbox:

http://java.daypilot.org/sandbox/

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.