bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

Support use of pack layout & parent events #6400

Open marciogurka opened 1 year ago

marciogurka commented 1 year ago

Forum post

"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

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

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?"

Check the video for example

https://user-images.githubusercontent.com/16693227/225944078-0face087-f29d-4534-8d3b-00c2f35212ff.mp4

marciogurka commented 1 year ago

As a reference in the documentation

Pack layout is not supported.

marciogurka commented 1 year ago

This would be a feature request.