Unplanned
Last Updated: 18 Oct 2022 11:28 by Benjamin
Benjamin
Created on: 28 Sep 2022 11:29
Category: Scheduler
Type: Feature Request
2
Custom Views

Hi there

The scheduler is an amazing component for Blazor, however with our designs we'd need to hijack one of the existing views and make a custom page from that which we don't really want to do if we can get this feature.

Custom Views would work just like any other view, but expose a <ViewTemplate> tag that would allow us to create our own custom view that can leverage on the power of the scheduler without doing anything hacky to achieve the same effect.

For instance a code example can be like:

<SchedulerViews>
    <SchedulerMonthView />
    <SchedulerDayView StartTime="@CurrentDate"></SchedulerDayView>
    <SchedulerCustomView>
        <ViewTemplate Context="view">
            <h1>This is a custom view for the @view.month</h1>
            <TelerikCalendar Date="@item.date" />
        </ViewTemplate>
    </SchedulerCustomView>
</SchedulerViews>

7 comments
Benjamin
Posted on: 18 Oct 2022 11:28

Hi Nadezhda

Again, the Agenda view will have it's place in our system. That being said, it cannot take over the role of a custom view template / RenderFragment.

Thank you for your feedback and thank you for allowing the request to remain open for a possible future addition to the component.

 

Kind regards,

Benjamin D. Keller

ADMIN
Nadezhda Tacheva
Posted on: 18 Oct 2022 11:13

Hi Benjamin,

I am following up with some clarification on my previous response as there may have been a misunderstanding.

I've suggested revising the Agenda view in order to evaluate it in case it can be useful for your scenario. However, this does not mean that we are declining the request for a Custom view. We do see value in exposing such an enhancement as it will provide much flexibility and allow one fully control the rendering of the view.

That said, the request remains open and we will be tracking the community votes and feedback for prioritizing its implementation. You have also shared an example of your design, so that provides us with a good perspective of the desired result.

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/.

Benjamin
Posted on: 11 Oct 2022 13:48

I'll be more than happy to jump on a scheduled call of any kind to show off what my team's needs are and show why I'm suggesting this

Benjamin
Posted on: 11 Oct 2022 13:45

Hi Nadezhda 

Agenda view has it's place on our site when it comes out, however a Custom View would be better for this scenario, if that's not possible then I have a work around on it.

Thought it may be handy for any other dev that may need to easily leverage the power of the Scheduler while having a custom approach to handing their own view

ADMIN
Nadezhda Tacheva
Posted on: 11 Oct 2022 13:35

Hi Benjamin,

Thank you for sharing details on the use case!

Generally speaking, we will expose an Agenda view in a future version of the component, which may be useful in your scenario. You may additionally use an appointment template to show your custom data, for example. Once available you may revise and test this view as this approach could save you some additional custom development.

If interested, you may vote for the request and follow it to receive status updates.

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/.

Benjamin
Posted on: 05 Oct 2022 12:19

Hi Nadezhda,

A design that we are using for our page looks like the attached image. It's pretty much an Agenda view that can show our custom data, and using the power of the Scheduler component, it can handle most of the switching and viewing of a days data.

For instance proving us with a Context parameter that we can get the current date which we can then send to our endpoints. Or directly selecting a date with the Calendar component and it switching the Scheduler date seamlessly with a @bind-Date (current exists in current version of Scheduler).

Since this is an opt-in approach, it should be known to the client that a lot of custom work will be needed.

Currently we have a working design of this, however we need to remove the Scheduler from the view and show a view in the same space as where the Scheduler was.

 

Kind regards

Benjamin D. Keller

Attached Files:
ADMIN
Nadezhda Tacheva
Posted on: 05 Oct 2022 09:03

Hi Benjamin,

Thank you for your feedback! I've updated the product and status of the item. I've also voted on your behalf as the gathered community votes is an important metric we follow when prioritizing the feature requests implementation.

Custom view is a valid enhancement for the Scheduler and it will allow vast customization options. However, the downside of such an approach is that it will require a lot of additional work on the clients' side. For example, as such a template will override the whole view rendering, one will need to handle the Scheduler grid/calendar that displays the appointments on their own.

That said, it may be beneficial if you can share details on the exact customization options you are looking for. Thus we may revise if it can be achieved in an easier way with less additional effort on your side.

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.