Skip to content

Paste into wrong cell when columns are reordered #518

@Gagogaa

Description

@Gagogaa

Expected behavior and actual behavior.

Expected: When pasting something into a cell I expect it to appear in that cell.
Actual: If cells have been rearranged the pasted value will show up in the wrong column.

Steps to reproduce the problem.

With the first tutorial https://canvas-datagrid.js.org/#tutorials add allowColumnReordering: true and allowRowReordering: true to the grid options. You need both due to #514. Then add grid.columnOrder = [1, 0, 2] at the end of the code. Finally paste something into col2 and it will show up in col1.

canvas datagrid paste

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions