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

How to auto hide empty/unhide non-empty rows when scrolling horizontally and vertically

Asked by Kevin
2 months ago.

I want to be able to hide empty/unhide non-empty event rows as I am scrolling horizontally and vertically. I currently have the "hide rows without events" checkbox implemented but I need to toggle that checkbox each time the scheduler moves or I might miss something. Is there a way to make this automatic so that I don't need to toggle the checkbox each time?

Answer posted by Dan Letecky [DayPilot]
2 months ago.

Applying the row filter requires an update of the Scheduler which is not possible during scrolling.

However, the latest sandbox build (2021.3.5048) now includes a new rowEmptyHeight property which lets you specify the height of a row without events. You can also set it per resource using resources[].emptyHeight.

If you set the value to 0, it will not skip the row like in the case of row filter but it will render it with zero height which will have the same effect.

You can download the latest version in the sandbox:

Comment posted by Kevin
2 months ago.

Thanks Dan! I'll give that a shot.

Comment posted by Kevin
2 months ago.

That worked like a charm. When will 2021.3.5048 be available to download from my customer area?

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

Great, thanks for the update. It will be released on August 15, 2021:

New Reply
This reply is
Your name (optional):