1.2.4. Scheduler settings
- 1 Settings
- 2 Styling
- 2.1 Event layout
- 2.2 Row height
- 2.3 Bar margin
- 2.4 Striped rows
- 2.5 Column lines
- 2.6 Auto height
- 2.7 Height unit & height
Settings
Auto load datasources
If the feature of auto loading data sources is turned on, the scheduler will refresh its data sources automatically whenever the view changes. However, if you don't want this to happen or want complete control over it, you can disable this behavior.
In the latter case, you can enable the "on changed time window" action to decide what should be refreshed in the scheduler when there is a change in the visible view or the view preset. This can be done by refreshing, the resource, event, and/or timespan entities.
Styling
Event layout
The event layout setting determines how events are displayed if the overlap on the same row. The following options are available:
Option | Description |
---|---|
| adjusts row height (only horizontal) |
| adjusts event height |
| allows two events to overlap, more packs (only vertical) |
| allows events to overlap |
Row height
This determines the minimum height of a row in the scheduler.
Bar margin
Controls how much space to leave between stacked event bars in px.
Striped rows
If enabled every other row will have an accented color to make it easier to see what row belongs to what resource.
Column lines
If enabled there will be vertical lines for every tick in the viewport (the grid so to speak).
Auto height
If the value is set to true, the scheduler will automatically adjust its height to match its content. However, if this feature is disabled, the height can be manually set using CSS. If the number of events exceeds the specified height, a scrollbar will appear.
Not that auto height negatively impacts performance for large datasets as row virtualization is not possible.
Height unit & height
When Auto height is disabled you can either set the height by CSS your self (Don’t set/Custom) or let the widget set the height based in pixels or a percentage.