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

Event Target Lookup Error during cellMouseEnter event #4477

Closed
riccarpin opened this issue Apr 22, 2024 · 2 comments
Closed

Event Target Lookup Error during cellMouseEnter event #4477

riccarpin opened this issue Apr 22, 2024 · 2 comments
Labels
Possible Bug A possible bug that needs investigation

Comments

@riccarpin
Copy link

Goodmorning, I'm working with tabulator 6.2.

I created a table and I inserted the the event of "cellMouseEnter" but every time the event is generated, I have the following string error on the console log:

Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?

Event:
image

Error message:
image

Could you help me, please?
Thanks for your kindly collaboration

@riccarpin riccarpin added the Possible Bug A possible bug that needs investigation label Apr 22, 2024
@olifolkerd
Copy link
Owner

Hey @riccarpin

This error usually occurs when a table has been rebuilt on the same element as a previous table, if you are using a reactive framework to instantiate your table, id suggest adding a console log just before your table instantiation and you will see it is occurring multiple times.

You either need to instantiate only once, or call the destroy function on the existing table before you instantiate a new one.

Cheers

Oli :)

@riccarpin
Copy link
Author

Hi Oli,
you're right. The table was created two times.
Resolve the issue about the table creation the "Event Target Lookup Error" is disapear.

Thanks for the help.
Bye
Riccardo

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

2 participants