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 like onRowClick and getting the index of the clicked row #3611

Open
liamkar opened this issue Oct 1, 2024 · 0 comments
Open

Event like onRowClick and getting the index of the clicked row #3611

liamkar opened this issue Oct 1, 2024 · 0 comments

Comments

@liamkar
Copy link

liamkar commented Oct 1, 2024

I would need to attach an event handler on clicking any part of the row and get the index value of the clicked row. I can see there used to be a property onRowClick in the past that did exactly that, but I cannot see any replacement for that, but if a work-around exists already, I would love to hear about that.

I already tried onCellClick, but unfortunately it seems not to be passing the index of the clicked row to the clickHandler.

Looking at the examples, I can see there are checkboxes on the left side of the grid on some examples. My hunch is that it might be possible to attach event handler receivng row index on that component? Then again, I would like to avoid adding any checkboxes on rows as basically no need for checkboxes exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant