nhn / tui.calendar

🍞📅A JavaScript calendar that has everything you need.
http://ui.toast.com/tui-calendar
MIT License
11.96k stars 1.29k forks source link

Hide empty calendar rows (hour rows with no schedules) #630

Open bogdang1988 opened 4 years ago

bogdang1988 commented 4 years ago

Hello,

For this calendar, is it possible to hide rows which are fully empty? Meaning hours which have no schedules on the entire row.

You can see here what I mean:

viva-timetable

Thank you.

auto-comment[bot] commented 4 years ago

Thank you for raising an issue. We will try and get back to you as soon as possible.

Please make sure you have filled out issue respecting our form in English and given us as much context as possible. If not, the issue will be closed or not replied.

jungeun-cho commented 4 years ago

Not supported. You can specify the time range.

const cal = new tui.Calendar('#calendar', {
    defaultView: 'week', // weekly view option
    week: {
      hourStart: 8,
      hourEnd: 19
    }
  });
bogdang1988 commented 4 years ago

But for example if a specific hour should not be in the calendar, like for example 2pm, is this possible?