nhn / tui.calendar

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

Way to adjust panel height #396

Open haringsrob opened 5 years ago

haringsrob commented 5 years ago

Version

v1.12.5

Development Environment

MacOS safari

Current Behavior

Currently when viewing the week view with many events, only 3 are shown. Then a + button is available to enlarge the panel.

Expected Behavior

I would like to overwrite the https://github.com/nhn/tui.calendar/blob/188b1846eb1023660e0776ef0fcfc1a4846e9b64/src/js/factory/weekView.js#L47 DEFAULT_PANELS so I have more configuration flexibility?

jungeun-cho commented 5 years ago

@haringsrob We will discuss with the team whether or not to provide an API to allow the user to override the vertical panel of the weekly view.

If it's going to work, it'll take some time.

If you are in a hurry, I recommend using a fork.

haringsrob commented 5 years ago

Hi, thanks, it is not that urgent since I found a better solution for my case.

(I have 3 types of appointment, now I just show one type (time, allday or task) at the time.).

jungeun-cho commented 5 years ago

@haringsrob Yeah :) In the future, the TOAST UI Calendar team is considering providing it as a template.