Discuss anything related to web development but no technical support questions


Post by rohit_zinier »

How to add a travel time for non-working slot. like In

Screenshot 2024-08-29 at 7.05.43 PM.png
Screenshot 2024-08-29 at 7.05.43 PM.png (91.37 KiB) Viewed 245 times

I have added a slot for 'lunch Break'. so that slot I need to show the preamble and postamble. let me paste the object of that slot.
[/
"resourceId": "T5F67NX806",
"endDate": "2024-08-28 13:30:00.000",
"eventColor": "#C4C8CC",
"name": "Lunch Break",
"cls": "notAvailable",
"startDate": "2024-08-28 13:00:00.000",
"preamble": "1 hour",
"postamble": "30 min"
]
I have added the preamble and postamble but it's not working.


Post by tasnim »

Hi,

Welcome to Bryntum Forum 🎉!

Are you using resource timerange to achieve it? preamble and postamble is only supported for EventBuffer feature https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/EventBuffer
Which is supported for events only.

Best regards,
Tasnim


Post Reply