Our pure JavaScript Scheduler component


Post by chester »

Hi

I have an infinite scroll view with the days as vertical columns.
I would like to have the columns with more width expect for the weekends.
Is this possible?

Can you point me to the right docs?

Thanks


Post by mats »

Can you please post a screenshot showing your desired result?


Post by chester »

Currently it is like this using preset weekAndDay a bit customized:

30-11-_2021_14-34-45.png
30-11-_2021_14-34-45.png (14.35 KiB) Viewed 428 times

And I would like to have more space for those columns marked red:

30-11-_2021_14-36-37.png
30-11-_2021_14-36-37.png (9.04 KiB) Viewed 428 times

Is that possible? I see that an inline style is applied of "width: 100px". Would be nice to know where this is defined.


Post by alex.l »

It managed by: https://www.bryntum.com/docs/scheduler/api/Scheduler/view/mixin/TimelineEventRendering#config-tickSize
Or may be defined with config for your viewPreset, docs here:
https://www.bryntum.com/docs/scheduler-pro/api/Scheduler/preset/ViewPreset

But it applies for all ticks, not possible to have different sized ticks. But you can compress non working time to 1 tick, check this example: https://bryntum.com/examples/scheduler/timeaxis/ Go to "Compress Non-Working time" tab

All the best,
Alex


Post by chester »

Solved


Post Reply