Our pure JavaScript Scheduler component


Post by elcr »

Hi everyone, I am trying to get the results in the picture below. Idea is that I need to add dynamic breaks, within an event. I saw one example about nested events, but that does not quite fill my needs.

Image url: https://ibb.co/N6BMJSq

Thanks


Post by mats »

That looks pretty much just like the nested events feature, what do you need that isn't included here: https://bryntum.com/products/scheduler/examples/nestedevents/ ?


Post by elcr »

This example, look similar, but it is the reverse of what I want. If you try to add an event to the example, it first adds a grey-colored row, then you should add you actual events that you want to do. I want to make the opposite. I want to be able to create an event, like normal, then have the option to add a break within a certain time.
I suppose I can achieve this with some modification(workaround) to the nested event, but I was wondering if there was a more direct approach.


Post by tasnim »


Post by mats »

You'll need to adapt nested events (in Scheduler Pro) and have your breaks be represented by a new custom event (set some state variable in your data). It should be quite straightforward to do it exactly like your screenshot. We could also offer to implement it for you as part of our Professional Services, details here: https://www.bryntum.com/services/


Post by elcr »

Yes i will try that, thanks


Post Reply