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

Integration with Vue and Selectable Cell Range with Clipboard breaks after calling setData #4650

Open
peteralfredoflynn opened this issue Dec 9, 2024 · 0 comments
Labels
Possible Bug A possible bug that needs investigation

Comments

@peteralfredoflynn
Copy link

Describe the bug
This may not be a bug, but more of an issue with Vue integration. Thank you so much for the time on this awesome library! If this is not the correct forum, please close out, but I sure could use some help.

I also have the question on stackoverflow

I'm trying to set up a tabulator table with Vue and Selectable Cell Range with Clipboard based on this example from Tabulator and these Vue Integration docs from Tabulator

The problem is, after calling setData, pasting the selectable range no longer works and the console warns No bounds defined on Range

I can confirm this is not an issue with tabulator, but only an issue when integrating with Vue.

Tabulator Info
Version 6.3

Working Example
Here is a working JSFiddle without Vue integration.

Here is the broken JSFiddle that is nearly identical, with Vue integration.

To Reproduce

  1. Go the Vue JS Fiddle (2nd link)
  2. Copy and Paste a range to see that it does work (optional)
  3. Hit the "Set Data" button
  4. Try copying and pasting another range, and see it does not work.

Expected behavior
I expect the copying and pasting to still work after calling setData

Desktop

  • Browser Chrome

Additional context
It works if I change setData to updateData but I would prefer to use setData for reasons of historical cell data like CellComponent.getInitialValue().

Once again, thank so much for the time spent on this awesome library!

@peteralfredoflynn peteralfredoflynn added the Possible Bug A possible bug that needs investigation label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug A possible bug that needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant