Skip to content
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

Questions #26

Closed
AdrianLaRiva opened this issue May 24, 2022 · 1 comment
Closed

Questions #26

AdrianLaRiva opened this issue May 24, 2022 · 1 comment

Comments

@AdrianLaRiva
Copy link

Hi Abdulraoof, it's a great plugin i love it. but i have two questions.

  1. it is possible define days available in the calendar? example : allow days only between two dates or week.
  2. it is possible define view mode by code and hide the options for the user
    Captura de Pantalla 2022-05-24 a la(s) 19 04 35

Thanks a lot.

Regards.

@aldabil21
Copy link
Owner

Hi @AdrianLaRiva

  1. It's possible in week/month view to choose certain days using the weekDays prop, but not in days view, the days view meant to show all days. However if you want to disable certain days, you can use the cellRenderer prop to disable certain days. Example here.
  2. This option is not within the Scheduler component, its just an extra added code to show the difference in the sandbox, you can get rid of it, and define your view using the resourceViewMode prop.

Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants