-
Notifications
You must be signed in to change notification settings - Fork 127
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
[FEATURE] [Calendar] Parameterise the Time Range in the TimeGris in Day ViewType #317
Comments
Yes. There is a property to set the grid default start time. I am not at
my computer right now so I don’t have the exact name.
-Art
On Wed, Jul 19, 2023 at 4:51 AM SatkunamSuganthar ***@***.***> wrote:
*Which PCF Component*
Calendar
*Is your feature request related to a problem? Please describe.*
Currently a Day View range from 12 AM to 11 PM. Is it possible to set the
custom range based on the Business Hours. (8 AM to 6 PM)
[image: image]
<https://user-images.githubusercontent.com/97066265/254564062-2156c792-a59a-43d4-a920-2beff1ea26b8.png>
*Describe the solution you'd like*
Would like to be parameterised and used should able to select the start
and end time in TimeGrid Library from React Big Calendar.
@rwilson504 <https://github.com/rwilson504> / @powerappsdev
<https://github.com/powerappsdev> / @seniormeow
<https://github.com/seniormeow> Is it possible to achieve ?
—
Reply to this email directly, view it on GitHub
<#317>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGEB6IW7ZZXGXZB5U6E5P3DXQ7C4LANCNFSM6AAAAAA2PZSTPU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Sent from my mobile phone
|
Thanks @ArtKarp for the reply. Is it the Min and Max ? |
Currently there is no way set the start/end time for the agenda view, but you can have the view automatically scroll to a certain time of day. Use the 'Calendar Scroll To Time' property. Enter the hour of the day (0 - 23) you would like the calendar to automatically scroll to for the day view." For instance, if the typical workday starts at 8AM then enter 8 into that property. |
Why am I in this discussion? I do not develop this app. Please remove my
git from this repo.
…On Fri, Jul 21, 2023 at 6:27 PM Rick Wilson ***@***.***> wrote:
Currently there is no way set the start/end time for the agenda view, but
you can have the view automatically scroll to a certain time of day.
Use the 'Calendar Scroll To Time' property. Enter the hour of the day (0 -
23) you would like the calendar to automatically scroll to for the day
view."
For instance, if the typical workday starts at 8AM then enter 8 into that
property.
—
Reply to this email directly, view it on GitHub
<#317 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIQZLMZIXYZ5TDHDIOEF7V3XRL657ANCNFSM6AAAAAA2PZSTPU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@seniormeow you are not marked as a Collaborator on the project. Are you sure you don't just have a Watch turned on for the repo. |
Thanks @rwilson504. I have explored that options Scroll to Time as you mentioned. But my client does not want that. |
Based on the docs from React-Big-Calendar I also don't believe this is possible. I'm going to close this for now, if that library ever gets updated with that capability feel free to re-open. |
Hi @rwilson504, We are using the work_week view and looks like it is possible to achieve. See the below Code in the Sanbox `import { Calendar, momentLocalizer } from "react-big-calendar"; // Calendar should show dates in the GMT+9 (Asian/Tokyo) time zone const localizer = momentLocalizer(moment); export default function App() { const minTime = new Date(); const events = [ return ( I'm going to try to amend the PCF code as parametrised start time and end time, if it works, I will raise the PR for your review. |
@SatkunamSuganthar, I tried out that code above in that sandbox and when I click on the week/work week/day views, I get that the index is out of range. The agenda and month views seem to work. |
@rwilson504 Interesting, it perfectly works for me. I do not think it is related to the Library. could be specific to the Sanbox. I think it will work with PCF control if I add correct code in your PCF control. |
Which PCF Component
Calendar
Is your feature request related to a problem? Please describe.
Currently a Day View range from 12 AM to 11 PM. Is it possible to set the custom range based on the Business Hours. (8 AM to 6 PM)
Describe the solution you'd like
Would like to be parameterised and used should able to select the start and end time in TimeGrid Library from React Big Calendar.
@rwilson504 / @powerappsdev / @seniormeow Is it possible to achieve ?
The text was updated successfully, but these errors were encountered: