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

DataTable on:click:row is missing target and currentTarget information #1904

Open
Sahasrara opened this issue Jan 23, 2024 · 0 comments
Open

Comments

@Sahasrara
Copy link
Contributor

I'm not sure if this is a bug or by design, but it's currently not possible to discern which element the user clicked on when you use on:click:row with DataTables.

My use case: I'm hoping to execute a function only when the user clicked on empty space in a row. If they click on buttons or other elements I have embedded in the table, I'd like to go with the default behavior. But since currentTarget/target don't get set, it's not possible.

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