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

Is there a way to hide mornig or late hours #188

Closed
alexanderhoneder opened this issue Aug 24, 2018 · 3 comments
Closed

Is there a way to hide mornig or late hours #188

alexanderhoneder opened this issue Aug 24, 2018 · 3 comments
Assignees
Labels

Comments

@alexanderhoneder
Copy link

Version

1.7.0

Current Behavior

All hours from 0 - 24 are shown

Expected Behavior

Only f .eg. 8 - 20 is displayed

@dongsik-yoo
Copy link
Contributor

@alexanderhoneder #175

@NoelOConnell
Copy link

I believe this option is already available.
You can set the visible hour range using the hourStart and hourEnd options and the the calendar will only show the hours between that range.

new tui.Calendar('#calendar', {
  scheduleView: ['time'],
  useCreationPopup: false,
  calendars: [],
  week: {
    workweek: false,
    hourStart: 6,
    hourEnd: 22,
    narrowWeekend: true
  }
});

@alexanderhoneder
Copy link
Author

Thank you for the fast Response

It worked perfect

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

No branches or pull requests

4 participants