Completed
Last Updated: 21 Dec 2021 17:38 by ADMIN
Daniel
Created on: 02 Oct 2021 03:54
Category: UI for Blazor
Type: Feature Request
0
Scheduler readonly slots
It would be great if we can have bindable readonly time slots, Where are optionally no appointments are possible. 
This is useful for breaks (no appointments at lunch time) or holidays.
4 comments
ADMIN
Nadezhda Tacheva
Posted on: 21 Dec 2021 17:38

Hi Daniel,

Thank you for your patience once again!

The knowledge base article is now live and you can check it here:

Scheduler Readonly Slots

It includes details and links a sample project in our public repository that demonstrates how to define readonly time slots in the Scheduler.

That said, I am hereby marking this thread as "Completed" since the desired result can be achieved with the current configuration of the component.

I hope you will find the example useful to set up the readonly slots in your application. If any questions appear in the process, please let us know.

Regards,
Nadezhda Tacheva
Progress Telerik

Learn about the important changes coming in UI for Blazor 3.0 in January 2022!
ADMIN
Nadezhda Tacheva
Posted on: 26 Nov 2021 16:54

Hi Daniel,

I just want to step in and provide an update that the knowledge base material is still in progress.

In the process of developing the example for it I ran across a specific component behavior regarding the recurring appointments due to which it was not possible to prevent their update. As this is also an important scenario to cover, I've notified our development team accordingly and they were able to fix it. The update will be included in our upcoming 2.30.0 release which is expected to be live around December 8th.

I will be able to release the knowledge base article shortly after that. I will additionally follow up once it is live.

Thank you for your patience once again!

Regards,
Nadezhda Tacheva
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Nadezhda Tacheva
Posted on: 12 Oct 2021 16:08

Hello Daniel,

Thank you for your patience once again! We were able to thoroughly research and discuss the topic.

After the revision we have come to the conclusion that at this stage such functionality should rather not be supported out of the box as there could be multiple scenarios to be covered. We consider it would be better they are handled per case by the applications business logic depending on the desired result.

Read only slots could be achieved by preventing the create and update operations for certain appointments based on the desired logic (for example, if they encroach lunch time slots). Optionally, a notification or dialog with a meaningful error message can be shown.

Once the OnCellRender event is available for the Scheduler you will also be able to set some conditional cell formatting based on the desired logic to visually mark the disabled slots as well. I added your vote there to increase its popularity as we are prioritizing the feature requests implementation based on the community interest and demand. You may also follow it to receive email notifications when its status changes. Until it is live, you may hardcode the background color for the disabled slots with some custom CSS.

I am working on a knowledge base resource that demonstrates the described approach - disable lunch time slots by preventing update and creation of events in these slots. During the development process I ran across a bug with the appointments update when they are resized or dragged - it appears that currently the Scheduler data is updated before the OnUpdate logic is performed. Thus, if you want to prevent the update based on some condition, you are not able to do so when drag or resize. I logged a bug report for that case and we have plugged it in our backlog to prioritize its fixing. You can follow its progress here - Appointments drag and resize update the Scheduler data before the OnUpdate logic is performed. I also added your vote to increase its priority.

Once its fix is live, I will be able to proceed with the knowledge base article. I will then post its link here, so you and any other interested parties can benefit from the suggested approach.

I will now mark this thread "In development" to indicate the knowledge base resource is in progress.

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Nadezhda Tacheva
Posted on: 08 Oct 2021 15:04

Hello Daniel,

This looks like a meaningful use case. I've raised a discussion with the team whether such functionality can be achieved for the Scheduler.

I will get back to you with an update as soon as possible. Thank you for your patience while we revise the matter!

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.