Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paste into wrong cell when columns are reordered #518

Open
Gagogaa opened this issue Jul 15, 2022 · 0 comments
Open

Paste into wrong cell when columns are reordered #518

Gagogaa opened this issue Jul 15, 2022 · 0 comments

Comments

@Gagogaa
Copy link

Gagogaa commented Jul 15, 2022

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

romanstetsyk added a commit to romanstetsyk/canvas-datagrid that referenced this issue Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant