Comments (5)
Hi @RLangridge
I've looked into your fork to get an idea what you like to do. While these options are not internally exists, you can intercept the default behaviour and make it happen by using customEditor
& viewerExtraComponent
.
Look into this exmple sandbox and let me know if the idea is there. It's not arranged well, you can do better spliting componenets and make it better.
I want to be able to show a custom view when my users select an event cell and perform custom actions within that view
Let me know if the example solve it for you.
I also want to make the empty cells read-only
Edited: It's not exacly readonly, but you would show a modal with a notice thats this time-slot is unavailable etc... let me know if it works for you.
Hope this helps
from react-scheduler.
Hi @aldabil21
Thank you so much for the example you've posted. I think I should be able to use this for our project. I just have one more question: Is it possible to only show only a date range? Our client wants to be able to show just the current day and the next day (Is it currently possible to intercept the date header that lets you pick "Day, Week, Month")?
Thanks so much for your time
from react-scheduler.
You welcome.
I think there will some limitation on this, you can limit the view to "only today and tomorrow", and remove the "month, weel, day" views. But the user will still be able to navigate using the top left calendar and arrows. There is no controls of that from options/props.
I've updated the same example, check it out and let me know if it may work for you.
from react-scheduler.
Thanks for looking into this. Unfortunately I need a way to possibly even just disable those arrow buttons and have it in the day view. I might make a fork later and try to implement it myself and ask for a PR (This isn't an urgent requirement from our client thankfully).
Thank you for your time.
from react-scheduler.
PR are welcome.
from react-scheduler.
Related Issues (20)
- Is there a way to set resource to vertical resource orientation HOT 2
- Function(event). Helper function to render custom item in event item HOT 2
- Can't add onClickMore property HOT 1
- Feature request: Disable viewer popper completely HOT 7
- Todos: Recurring Events HOT 1
- allDay events disappear from week view when there are events in the same day
- Invalid Interval error all of a sudden, no changes but my application broke. HOT 3
- Support for date-fns v3 HOT 4
- daylight savings time: wrong event positioning after update HOT 1
- edit event card HOT 1
- wrong event positioning when using portion of hours
- Full Day Event Bug HOT 2
- Getting TypeError: e.start.getTime is not a function when passing the events. HOT 1
- React does not recognize the `disableRipple` prop on a DOM element. HOT 1
- ResourceViewMode tabs, selected resource changed event?
- Wrong events offset HOT 4
- Remote Data not displaying on the Calendar HOT 1
- How to use MUI icons in header title? HOT 1
- How to prevent going to first resource field after onConfirm? HOT 1
- Specify start and end times when 30 minute steps? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-scheduler.