GithubHelp home page GithubHelp logo

Comments (5)

aldabil21 avatar aldabil21 commented on July 29, 2024

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.

RLangridge avatar RLangridge commented on July 29, 2024

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.

aldabil21 avatar aldabil21 commented on July 29, 2024

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.

RLangridge avatar RLangridge commented on July 29, 2024

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.

aldabil21 avatar aldabil21 commented on July 29, 2024

PR are welcome.

from react-scheduler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.