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

Pass react event when table action is clicked #460

Closed
ierehon1905 opened this issue Jan 10, 2023 · 0 comments · Fixed by #461
Closed

Pass react event when table action is clicked #460

ierehon1905 opened this issue Jan 10, 2023 · 0 comments · Fixed by #461
Assignees

Comments

@ierehon1905
Copy link
Contributor

I noticed that the click event is not passed to the handler. It is helpful when you need to emulate the native link behaviour: open in current or new tab. But it is only possible to determine with the event that caused the event. I suggest to add the event as the last argument.

private handleActionClick = (action: TableAction<I>, data: PopupData<I>) => {

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

Successfully merging a pull request may close this issue.

1 participant