Hi Guys,
in the dhtmlxScheduler, in timeline view, if I specify a height for the y_unit height:
scheduler.createTimelineView({
name: "timeline",
render: "bar",
section_autoheight: false,
dy: 25,
And I specify a height for the scheduler itself:
<div id="scheduler_here" class="dhx_cal_container" style='width:100%; height: 1500px; overflow: visible;'>
<div class="dhx_cal_navline">
If I go to the bottom of the scheduler, and create an event by dragging and dropping the event, but I let go of the mouse button below the last section (y_unit) on the scheduler, it will throw an error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Thu, 30 Sep 2010 23:22:51 UTC
Message: 'O.y_unit[...].key' is null or not an object
Line: 174
Char: 13
Code: 0
URI: http://localhost/Controls/Scheduler/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_timeline.js
This doesn’t stop the dhtmlxScheduler from running or performing as expected, however It may be a good idea to place a try/catch statement around there to ensure that there are no JavaScript errors.
Kind regards
Greg Goldberg