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

Rowspan undefined with collapsed resources and multiple columns

Asked by John C
20 days ago.

Using this exact example (https://javascript.daypilot.org/demo/scheduler/rowheadercolumns.html), if you change the initial resource expanded property to false, you will receive the following error:

daypilot-all.debug.js?v=2022.2.5332:50736
Uncaught TypeError: Cannot read properties of undefined (reading 'rowspan')
at DayPilot.Scheduler._drawRow (daypilot-all.debug.js?v=2022.2.5332:50736:34)
at DayPilot.Scheduler._drawResHeadersProgressive (daypilot-all.debug.js?v=2022.2.5332:50252:30)
at DayPilot.Scheduler._updateAfterRowChange (daypilot-all.debug.js?v=2022.2.5332:62413:22)
at draw (daypilot-all.debug.js?v=2022.2.5332:51164:26)

What is happening here?

Code is attached.

Answer posted by Dan Letecky [DayPilot]
20 days ago.

This should be already fixed in the latest version (which is now 2022.3.5384).

Please let me know if the problem persists.

Comment posted by John C
19 days ago.

Updated and resolved. Thanks, Dan.

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

Great, thanks for the update!

New Reply
This reply is
Your name (optional):