BlazorScheduler icon indicating copy to clipboard operation
BlazorScheduler copied to clipboard

Show "Others" Appointments by MouseHover

Open FreddyS96 opened this issue 3 years ago • 1 comments

Hey as youre doing such a great work i wanted to share an improvement idea with you. Is it possible to integrate a new feature to show the "other" appointments of a day by hovering the mouse over the day ? Without the need of the additional dialog.

FreddyS96 avatar Jan 23 '22 21:01 FreddyS96

Thanks for another great idea! How would you expect this to work?

I am thinking about creating a OverflowTemplate with the overflow appointments in the context (or all the appointments? currently when you click the overflow appointment it shows all the appointments, I believe), so you'd do something like this:

<Scheduler>
    <Appointments>
        ...
    </Appointments>

    <OverflowTemplate>
        <h1>Overflow appointments</h1>
        <ul>
            @foreach (var app in context.Appointments)
            {
                <li>@app.ChildContent</li>// build a list or something
            }
        </ul>
        <div>Some more content under the appointments?</div>
    </OverflowTemplate>
</Scheduler>

and could have a default template so it'll ** just work ** out of the box

valincius avatar Jan 24 '22 15:01 valincius