Page 1 of 1

[SchedulerPro] Unexpected behavior when using pack layout & parent events

Posted: Fri Mar 17, 2023 4:51 pm
by jamesb

Hello,

We would like to use the pack layout with parent events. We expect the parent events to be displayed in a compact way within the row height, like on this example:
https://bryntum.com/products/schedulerpro/examples-scheduler/layouts/

pack_regular.png
pack_regular.png (10.15 KiB) Viewed 314 times

However, when we enable the pack layout with parent events, the events are not more compact, they overlap with each other, and they overflow on the next resource:
https://bryntum.com/products/schedulerpro/examples/nested-events/

pack_parent.png
pack_parent.png (16.42 KiB) Viewed 314 times

To get this behavior, we simply added the eventLayout configuration and dropped two events at overlapping times on the same resource.

    static get configurable() {
        return {
            eventLayout: "pack",
            ...
        }
    }

Could we get the same behavior with parent events as with regular events, when using the pack layout?

Thank you,

J


Re: [SchedulerPro] Unexpected behavior when using pack layout & parent events

Posted: Fri Mar 17, 2023 5:10 pm
by marcio

Hey J,

Thanks for the report, I created a ticket to look into this - https://github.com/bryntum/support/issues/6400


Re: [SchedulerPro] Unexpected behavior when using pack layout & parent events

Posted: Fri Mar 17, 2023 6:06 pm
by marcio

Hey J,

Just an update on the issue, check the comment here https://github.com/bryntum/support/issues/6400#issuecomment-1474065739


Re: [SchedulerPro] Unexpected behavior when using pack layout & parent events

Posted: Fri Mar 17, 2023 6:54 pm
by jamesb

Hi Marcio,

Good to know, thank you for the precision!
I did not find this information on the "eventLayout" section of the documentation: https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerPro#config-eventLayout

Is it an enhancement that could be added to the Bryntum roadmap, or are there technical limitations that make nested & pack layout features mutually incompatible?

Thank you,
J


Re: [SchedulerPro] Unexpected behavior when using pack layout & parent events

Posted: Sun Mar 19, 2023 8:44 am
by alex.l

Hi J,

It will be implemented. Marcio meant it is not supported now, but the ticket is exists and will be fixed.


Re: [SchedulerPro] Unexpected behavior when using pack layout & parent events

Posted: Tue Mar 21, 2023 3:54 pm
by marcio

Hey J,

Just an update, we discussed it internally and that would be a feature request ticket, as it's currently not supported and not a bug. I reopened that ticket, but if you would like to speed up the development of that ticket, you could sponsor the development by contacting our sales here https://bryntum.com/services/