stefanuebe/vaadin-fullcalendar

No DayHeader in ResourceTimeGridDay

Closed this issue · 5 comments

When using Scheduler, there does not seem to be a DayHeader by default in the ResourceTimeGridDay, but it's present in ResourceTimeGridWeek. I couldn't see how to add it from Flow.

Thanks for your help.

I don't think dayHeader would appear on a day view

https://fullcalendar.io/docs/dayHeaders

Anyway to set it to true for the view: calendar.setOption("dayHeaders", true); but probably it will not take any effect.

You can check here for the resourceTimeGridDay: https://codepen.io/aetasoul/pen/eYyBeXp?editors=0010

and here for the resourceTimeGridWeek: https://codepen.io/aetasoul/pen/ExoNbJg?editors=001

Thanks for the links and I've seen how it is displayed in all the demos.

You are correct that calendar.setOption("dayHeaders", true) doesn't work.

It doesn't make sense to me not to have dayHeader included for resourceTimeGridDay when it is included for TimeGridDay, TimeGridWeek and resourceTimeGrid Week. I don't use the default FullCalendar toolbar with a date field, I have instead created by own side toolbar, so I really need to see the dates in a dayHeader.

Probably in the resourceTimeGridDay the resource toolbar override the dayHeader

I'll check the fc repo for issues regarding this or open one

Thare is alredy an open issue: fullcalendar/fullcalendar#5740

OK thanks - I'll follow it up there.