Our blazing fast Grid component built with pure JavaScript


Post by marko »

When the row reorder feature is turned on and selection mode has rowCheckboxSelection set to true the row gets selected when it is moved.

What's even worse, if multi select is enabled and you select multiple rows and then move one, just the moved row is selected with previously selected rows getting deselected.

Expected behaviour in this case would be to not select the row when it is moved.

Here's a screen capture: https://recordit.co/iNSulsgmsT


Post by marcio »

Hey marko,

Thanks for the report and the video showing the issue. I was able to replicate and create a ticket to fix it https://github.com/bryntum/support/issues/5959

Best regards,
Márcio


Post by marko »

Hi Marcio,

the issue evolved with the fix that was released. I'm attaching another screen recording to display the problem: https://recordit.co/v89ai3hUNo

Now when selection mode is set to rowCheckboxSelection I can't reorder rows at all. Only when I select one or more rows can I move them around.

I need to implement bulk actions and also have row reordering. Should I try to implement my own row selection for bulk actions and not rely on the grid's row selection? If so, how would I go about doing this?


Post by joakim.l »

Hi Marko.

We noticed that very problem shortly after the release yesterday.

There is already a fix ready for next release: https://github.com/bryntum/support/issues/6004

This will make it possible to reorder a row that is not selected when there is one or more other rows selected. If you reorder a selected row, all selected rows will be moved.

At the moment, I don't know when next path release will be out, hopefully in a couple of weeks. The 5.3-beta-2 is planned for release during next week, so you could possibly try it out there.

Regards
Joakim


Post Reply