Our pure JavaScript Scheduler component


Post by DevMeData »

Hello everyone,

we have a problem with the ViewPreset.

The viewpreset "hourDay" is currently used to display the events.

The corresponding period, from when to when the events are displayed, is implemented via a popup.
In this popup, the user should be able to set the resolution of the grid. (e.g. each column corresponds to 1h, 2h, 0.5h etc.)

Is it possible to adjust the resolution of the view preset from the outside?

e.g.
resolution 0.5H:
The user can see from 8 a.m to 12 a.m. without scrolling
resolution 1H:
The user can see from 8 a.m. to 4 p.m. without scrolling.
resolution 2H:
The user can see from 8 a.m. to midnight without scrolling.

There are pictures in the appendix to clearly illustrate the problem.
Attachment_1_SettingOneHour:
Each column will represent 1 hour.

Attachment_2_SettingTwoHours:
Each column will represent 2 hours
OR
The columns are half the size (to display more columns)

Thanks in advance.

Best regards

Attachments
Attachment_1_SettingOneHours.png
Attachment_1_SettingOneHours.png (11.3 KiB) Viewed 281 times
Attachment_2_SettingTwoHours.png
Attachment_2_SettingTwoHours.png (11.38 KiB) Viewed 281 times

Post by Animal »

See this example for custom ViewPresets: https://bryntum.com/examples/scheduler/configuration/


Post by DevMeData »

Thanks animal,

i'll take a look at further look at this.


Post Reply