[PR #1904] [CLOSED] Appointment Resize #2956

Open
opened 2026-01-29 18:21:16 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1904
Author: @paulo-rico
Created: 1/11/2025
Status: Closed

Base: masterHead: master


📝 Commits (2)

  • ac0688a Appointment Resize (cleaned up whitespace changes)
  • 2e9e711 Rename styles in Appointment.razor

📊 Changes

9 files changed (+305 additions, -21 deletions)

View changed files

📝 Radzen.Blazor/Common.cs (+21 -0)
📝 Radzen.Blazor/IScheduler.cs (+17 -0)
📝 Radzen.Blazor/RadzenScheduler.razor.cs (+36 -0)
📝 Radzen.Blazor/Rendering/Appointment.razor (+116 -8)
📝 Radzen.Blazor/Rendering/DaySlotEvents.razor (+7 -1)
📝 Radzen.Blazor/Rendering/DayView.razor (+4 -1)
📝 Radzen.Blazor/Rendering/WeekView.razor (+4 -1)
📝 Radzen.Blazor/wwwroot/Radzen.Blazor.js (+74 -0)
📝 RadzenBlazorDemos/Pages/SchedulerConfig.razor (+26 -10)

📄 Description

Hi Team

This is a PR that addresses resizing appointments in the Scheduler.

I've only implemented this for DayView, MultidayView and WeekView. The other views show partial appointments as occupying full slots. It's not really applicable as is stands.

I've tried to comment all aspects of the changes so you can follow the logic.

Apart from the standard summary / documentation, I've not added any comments to Common.cs, IScheduler.cs and RadzenScheduler.razor.cs as the changes are straightforward boilerplate to service Events and such.

The bulk of the changes lie in Appointment.razor and Radzen.Blazor.js, which I have heavily commented.

You will notice that I've included a <style> block within Appointment.razor. I couldn't find how to add this properly, so I must leave it with you to transfer to the appropriate place (or advise how I do that).

The first demo on the Scheduler page is the one that implements AppointmentResize.

Stay well and regards
Paul


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/1904 **Author:** [@paulo-rico](https://github.com/paulo-rico) **Created:** 1/11/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`ac0688a`](https://github.com/radzenhq/radzen-blazor/commit/ac0688a5bb00ba9554b982ca529e30b78dfe1db2) Appointment Resize (cleaned up whitespace changes) - [`2e9e711`](https://github.com/radzenhq/radzen-blazor/commit/2e9e711852560b1543612d96c30762365c5266b2) Rename styles in Appointment.razor ### 📊 Changes **9 files changed** (+305 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/Common.cs` (+21 -0) 📝 `Radzen.Blazor/IScheduler.cs` (+17 -0) 📝 `Radzen.Blazor/RadzenScheduler.razor.cs` (+36 -0) 📝 `Radzen.Blazor/Rendering/Appointment.razor` (+116 -8) 📝 `Radzen.Blazor/Rendering/DaySlotEvents.razor` (+7 -1) 📝 `Radzen.Blazor/Rendering/DayView.razor` (+4 -1) 📝 `Radzen.Blazor/Rendering/WeekView.razor` (+4 -1) 📝 `Radzen.Blazor/wwwroot/Radzen.Blazor.js` (+74 -0) 📝 `RadzenBlazorDemos/Pages/SchedulerConfig.razor` (+26 -10) </details> ### 📄 Description Hi Team This is a PR that addresses resizing appointments in the Scheduler. I've only implemented this for `DayView`, `MultidayView` and `WeekView`. The other views show partial appointments as occupying full slots. It's not really applicable as is stands. I've tried to comment all aspects of the changes so you can follow the logic. Apart from the standard summary / documentation, I've not added any comments to `Common.cs`, `IScheduler.cs` and `RadzenScheduler.razor.cs` as the changes are straightforward boilerplate to service Events and such. The bulk of the changes lie in `Appointment.razor` and `Radzen.Blazor.js`, which I have heavily commented. You will notice that I've included a `<style>` block within `Appointment.razor`. I couldn't find how to add this properly, so I must leave it with you to transfer to the appropriate place (or advise how I do that). The first demo on the Scheduler page is the one that implements `AppointmentResize`. Stay well and regards Paul --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:21:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2956