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
8 months ago.

Using this exact example (, if you change the initial resource expanded property to false, you will receive the following error:

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]
8 months 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
8 months ago.

Updated and resolved. Thanks, Dan.

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

Great, thanks for the update!

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