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

Daypilot Scheduler Angular throws error cannot read property 'clientWidth' of null

Asked by Alex
15 days ago.

The error is thrown when navigate from a page with daypilot scheduler component to another page. I tried calling 'dispose' method from scheduler control but it doesn't work. The version of library is 2021.1.4880 and the config:
{
visible: false,

allowMultiSelect: false,
scale: 'Day',
timeHeaders: [{ groupBy: 'Month' }, { groupBy: 'Day', format: 'd' }],
eventHeight: 25,
rowMinHeight: 25,
rowMarginBottom: 1,
treeEnabled: true,
theme: 'scheduler',
floatingTimeHeaders: false,
treeAnimation: false,
cellWidth: 40,
cellWidthSpec: 'Auto',
cellWidthMin: 20,
crosshairType: 'Full',
groupConcurrentEvents: true,
groupConcurrentEventsLimit: 1,
durationBarVisible: false,
timeRangeSelectedHandling: 'Disabled',
eventMoveHandling: 'Disabled',
eventResizeHandling: 'Disabled',
eventDeleteHandling: 'Disabled',
eventClickHandling: 'Select',
eventHoverHandling: 'Bubble',
zoom: 0,
zoomLevels: [
{
name: "AM/PM",
properties: {
scale: "CellDuration",
cellDuration: 720,
cellWidth: 45,
timeHeaders: [{ groupBy: "Month" }, { groupBy: "Day", format: "d" }, { groupBy: "Cell", format: "tt" }]
}
}
]
}

Comment posted by Dan Letecky [DayPilot]
8 days ago.

Unfortunately, I'm not able to reproduce the problem. Could you please send a sample project that reproduces the issue to support@daypilot.org? You can generate a blank project at https://builder.daypilot.org.

New Reply
This reply is
Your name (optional):