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

Changing event programmatically with segments field doesn't change the event #5567

Closed taauntik closed 2 weeks ago

taauntik commented 2 years ago

Forum post

Hi,

I'd like to report a bug. As far as I see it is present in the SchedulerPro, but it is working in the normal Scheduler. Tested in 5.2.0-beta and 5.2.2.

Steps to reproduce: Open: https://bryntum.com/examples/scheduler-pro/percent-done/ (you can open other example as well) Run in the console:

schedulerPro.eventStore.getAt(0).setAsync({ eventColor: 'red', segments: undefined });

Expected: first event turns red Actual: scheduler did not change, did not re-render

Notes: if you zoom in or our (or trigger some kind of refresh), then scheduler will be re-rendered and the first event turns into red

ghulamghousdev commented 2 weeks ago

This issue is already fixed and not reproducible anymore.