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
I'm currently working on beeing able to do segments on my tasks using splitToSegments.
I succefully manage to split my task into 2 segments, with their persistance.
My issue comes when I try to split again in order to get a third segments.
Sometimes it's working, sometimes not.
Sometimes I've to extend my task duration mannualy in order to be able to split on it.
Sometimes it's working on the left split, sometimes on the right one, I don't get it.
I don't know exactly how splitToSegments is working and I'm not able to understand it with only the demo version.
My clients would to have like 10/15 segments for a task and I don't even know if it's possible..
Could you help explaining to me how is it working and the right way to do it ?"
Forum post
"Hello guys !
I'm currently working on beeing able to do segments on my tasks using splitToSegments. I succefully manage to split my task into 2 segments, with their persistance.
My issue comes when I try to split again in order to get a third segments. Sometimes it's working, sometimes not. Sometimes I've to extend my task duration mannualy in order to be able to split on it. Sometimes it's working on the left split, sometimes on the right one, I don't get it.
I don't know exactly how splitToSegments is working and I'm not able to understand it with only the demo version. My clients would to have like 10/15 segments for a task and I don't even know if it's possible..
Could you help explaining to me how is it working and the right way to do it ?"
Behavior reproducible on our documentation demo https://bryntum.com/products/gantt/docs/api/SchedulerPro/feature/EventSegments
https://github.com/user-attachments/assets/13d77c42-f3cc-48d0-80b6-ea05aebcb8a6