-
Notifications
You must be signed in to change notification settings - Fork 835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduler New View - MultiDay #1852
Conversation
Hi @paulo-rico, Thank you for the pull request. I have seen people requesting this before. However they wanted to set a different start day of the week. For example from Tuesday to Friday. Can this be supported at the moment? |
Hi @akorchev Can't see why not. It would mean that the developer would have to work out the Although, for that scenario, it would be better to have a Do you want me to add that into the |
I think this would be the better API - StartDay and EndDay instead of StartDate calculation shenanigans + NumberOfDays. This would even allow "exotic" views such as Sunday to Wednesday. |
Responding to the edits. Maybe startday and endday should be weekview's properties. I am not so sure about the need for a multi-day view on its own if we do that. Are there any scenarios where users would need that? |
TBH, when I was putting this together, it occurred to me that, with a couple of properties on the My major concern was that the name Personally, I would prefer not to have the additional view and to make the What do you think? EDIT - Just to highlight what my scenario is. I need to be able to view just "today" and and the next two or three days. I need the ability to move missed appointments forward on a mobile. Makes the UI easier to operate. Showing seven days isn't required and makes the DragDrop harder as everything is rendered smaller. |
This is indeed a better fit for a new view - multi-day view. |
I've been giving this some thought. Here's what I've come up with. The My proposal is this -
What do you think? |
Sounds OK to me. Does this mean there is no more work to do in this PR? |
It does. I've just Pushed again (clean up), removing a comment marker that's not required |
Sorry about this @akorchev I have overlooked one thing. I haven't changed the icon for this view. It's the same as This is what I was going to put there -
Are you able to change it your end, or shall I open another PR? |
Working in the same way as
RadzenWeekView
with these exceptions -StartDate
as opposed toStartDate.StartOfWeek
NumberOfDays
(defaulted to 2) that dictates how many days to show.EndDate
calculated using this property. Also used for Previous / Next calculation.Added a new demo section in the Scheduler demo page to highlight this.
Regards
Paul