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

Feature Request: Hide weekends with config option #21

Open
Subwater opened this issue Aug 15, 2018 · 4 comments
Open

Feature Request: Hide weekends with config option #21

Subwater opened this issue Aug 15, 2018 · 4 comments

Comments

@Subwater
Copy link

Subwater commented Aug 15, 2018

In my project that uses react-big-scheduler I have a need to turn weekends off because they are never used, so as to not show unused days I went in a filtered them out before render. The one issue with that is they (days) still live on in the state, because they were filtered just before rendering

This would be an awesome feature for businesses -- with no need to see unused days -- wanting to use your project!

Great work on the project, it has been very useful! 👍

EDIT: Do you want me to open another FR for toggling collapse in the config?

@StephenChou1017
Copy link
Owner

@Subwater
Hi, I've added a Scheduler.config.displayWeekend to achieve this, see this example :-)

@Subwater
Copy link
Author

This is awesome news!! :) When can we expect the changes to be published to NPM?

@StephenChou1017
Copy link
Owner

Maybe when we add some more features, we can checkout the code at first:-)

@StephenChou1017
Copy link
Owner

@Subwater I've published a new version 0.2.2 in npm.

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