Custom event layout


#1

Hi,

I know it is possible to use templates to define the look of an event, but is it possible to implement my own layout logic for the events? In particular, I would like to control the widths which the events render with. For example, instead of 3 events with the same start time rendering with equal width by default, I’d like to control the width for each of the 3 events.


#2

Hi @aleks

Please check also the article Custom Event’s Box
It describes the way how to define custom display for events and can help you to find a solution.

The event width should be specified in the renderEvent method. Also, you can add the conditions according to logic.