Page 1 of 1

MergeCells breaks when reordering row

Posted: Fri Aug 05, 2022 7:02 pm
by til.schniese

Hi there,

when reordering rows that are both part of the same merged cell of a column using mergeCells, the cells of the column are not merged anymore.

How to Reproduce:

  1. Go to https://bryntum.com/examples/examples-scheduler/merge-cells/
  2. Add rowReorder: true to features
  3. Exchange two rows of same merged cell (Apparently this works)
  4. Exchange two more rows of same merged cell
  5. Now it breaks in the sense that the cells are not merged any more

Before 4:

Screenshot 2022-08-05 at 18.52.09.png
Screenshot 2022-08-05 at 18.52.09.png (39.25 KiB) Viewed 239 times

After 4:

Screenshot 2022-08-05 at 18.57.24.png
Screenshot 2022-08-05 at 18.57.24.png (52.7 KiB) Viewed 239 times

A quickfix is to add scheduler.resourceStore.sort('team', true); after the rows have been reordered, but there is still a small flicker where you can see that it is wrong in between.


Re: MergeCells breaks when reordering row

Posted: Fri Aug 05, 2022 8:40 pm
by mats

Reproduced, thanks for reporting! https://github.com/bryntum/support/issues/5012