TonyGermaneri / canvas-datagrid

Canvas based data grid web component. Capable of displaying millions of contiguous hierarchical rows and columns without paging or loading, on a single canvas element.
BSD 3-Clause "New" or "Revised" License
1.44k stars 187 forks source link

When dragging a few rows to other position => empty rows are left at source position #532

Closed elemerz closed 1 year ago

elemerz commented 1 year ago

I just found the solution: I haven't used the latest version. After upgrading to the latest (0.4.5) version ==> it works like a charm!

Expected behavior

When dragging a few selected rows to a new position all the dragged rows should be moved to the destination position and at source position no rows should be left.

Actual behavior.

When I select for example the 4-th row and I move them (by drag-drop) to position 2 ==> the dragged row is "copied" to the new position, and unfortunately the originally dragged row remain at source position as empty row. See attached picture.

Steps to reproduce the problem.

Specifications like the version of the project, operating system, or hardware.

canvas-grid-bug-532

elemerz commented 1 year ago

After upgrading to the latest 0.4.5 version ==> everything works fine.