Our powerful JS Calendar component


Post by bernardl »

Hi guys,

I need some help on below items:

  1. In week view, I would like an event i.e. 12AM 22 Nov - 12AM 23 Nov to be shown on 22 Nov column instead of having this all-day event shown on the column header. This should apply to multi-day event as well. Is that possible?
  2. In week view, i would like to have event to render as background of the grid column, it should be similar to resourceTimeRanges of scheduler.
  3. How do i have events rendered side by side instead of overlapping each other? I have tried allowOverlap : false, however it did not seem to have any effect.

Thanks,
Bernard


Post by alex.l »

Hi bernardl,

  1. No, an event may be allDay or not allDay. Showing event in both places will affect on the internal logic and cannot be easily reached.
  2. Not supported now, we have a feature request to add that https://github.com/bryntum/support/issues/2389
  3. No, weekDay view has fixed width for the columns, in case of no overlap it won't be possible to put many events in one slot, they won't be readable. Did you see this type of layout somewhere? Try to play with layout setting https://bryntum.com/docs/calendar/api/Calendar/layout/day/FluidDayLayout maybe you will find a solution that fits your needs.

All the best,
Alex


Post by Animal »

The docs of the Calendar are not quite up to date. There is a config for WeekView not documented yet called minDayWidth

It is the minimum width of a day column. Obviously the columns then take more space than is available, it will scroll:

minDayWidth.gif
minDayWidth.gif (7.34 MiB) Viewed 412 times

I will add some documentation for that for the next release.


Post Reply