- Home
- Forum
- Angular - EJ 2
- ignoreWhitespace for TimelineYear
ignoreWhitespace for TimelineYear
Hi team,
is there a way to reduce the whitespace for TimelineYear?
ignoreWhitespace works great for all other timelines, except for yearly view.
Repo:
https://stackblitz.com/edit/angular-atwkdkwc?file=src%2Fapp.component.ts
Hi Max Melcher,
Regards,
Vijayakumar R
Hi Vijayakumar,
thanks for the confirmation.
How can I remove the default minimum height? For the other views it behaves differently.
Thanks,
Max
Hi
Max Melcher,
We have reviewed and validated the sample you shared. We noticed that you have enabled the ignoreWhitespace property in the eventSettings of the scheduler. When this property is enabled, events fully occupy the cells without any whitespace. This is the expected behavior of the ignoreWhitespace property. As a result, appointments are rendered to completely fill the cells in the Timeline Year view (and other views), which prevents setting a minimum height for those cells.
Additionally, you mentioned that there is a difference in behavior between the
yearly view and other views. Could you please clarify the exact difference by
sharing clear screenshots? It would also be very helpful if you could describe
your specific use case and requirement in more detail so we can provide the
most appropriate solution.
Timeline year view
.
TimeLineDay view
Don't hesitate to get in touch if you require further help or more information.
Regards,
Vijay
Hi Vijay,
yes correct - but the whitespace is not needed when you have a lot of resources. Not all fit on the screen, but they could if the 'empty' ones would be smaller.
Month: Very compact, ignoreWhitespace works as expected.
Year view: ignoreWhitespace does not comact the 'empty' ones, and its different than the other views. Also the resource group row is very tall. Not consistent with the other views.
Its the same amount of resources and it would be great if they would be visibile all at once.
Any chance to make it narrow?
Thanks,
Max
Hi Vijay,
yes correct - but the whitespace is not needed when you have a lot of resources. Not all fit on the screen, but they could if the 'empty' ones would be smaller.
Month: Very compact, ignoreWhitespace works as expected.
Year view: ignoreWhitespace does not comact the 'empty' ones, and its different than the other views. Also the resource group row is very tall. Not consistent with the other views.
Its the same amount of resources and it would be great if they would be visibile all at once.
Any chance to make it narrow?
Thanks,
Max
Hi Max Melcher,
.e-schedule .e-horizontal.e-timeline-year-view .e-month-header, .e-schedule .e-horizontal.e-timeline-year-view .e-work-cells { height: 30px; } .e-schedule .e-timeline-year-view.e-vertical .e-resource-cells, .e-schedule .e-timeline-year-view.e-vertical .e-work-cells { height: 30px; } |
Regards,
Vijayakumar R
- 6 Replies
- 3 Participants
-
MM Max Melcher
- Feb 10, 2026 11:38 PM UTC
- Feb 16, 2026 05:11 PM UTC