Radzen Scheduler Monthview

The Monthview of the scheduler for any months with 6 rows of weeks (e.g. March 2024), instead of the usual 5 rows of weeks that most months have, will cause the event slots to be slightly too large (height), causing the "More Select" to overlap the day number on the next row (beneath the row with 4 or more events). I've reviewed all the source code and it appears the Monthview.cs has a very specific formula for calculating the slot height, it may need to be adjusted for months with 6 rows of weeks, which is rare, there's only 2 months in 2024 with 6 rows of weeks (March & June 2024). The slot height just needs to be a few pixels less when there's 6 rows of weeks for that month, or 6 day-boxes high. To recreate this just go to March 2024 and you'll see the height of the day-boxes are slightly shorter, then just create 5 or more events on a day so "more select" is activated and you'll see the day number for the next row down will be overlapped by "# more" text.

Hi @blambert,

Thank you for reporting this. I guess number of weeks depends on the culture - e.g. if a week starts on Sunday or on Monday. Will consider enhancing the layout in one of the upcoming releases. Feel free to file an issue - Issues ยท radzenhq/radzen-blazor ยท GitHub. We also accept pull requests.

1 Like

Hi Yordanov! Good point about the culture dependency and definitely will file an issue as you mentioned. I didn't realize you accepted PR's, I'd love to help out and be able to contribute - I love these components, amazing work!

1 Like