-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
React rowClick Event #502
Comments
I needed the exact same feature and found a way to do it. I created a plugin that display nothing but listen to rowClick event then raised the event
Then simply bind my plugin to my grid
Hope it can help |
Hi @lamilsage you don't just helped me, you actually solved my issue...my problem's root was how to bind a plugin to the react wrapper. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want use a global event 'rowClick' with gridjs-react and on the docs I can't found a "react version" of this feature.
Please help.
I would also like to pass an entire json object to each table row but only render some keys of it in the cells. When I click on some row I want the whole object returned to me as I initially passed it, without the default formatting
So if I pass an object like this one to the "data"
and i render only name and email value, when i click on that row i want that the returned object to be:
(the initial object should be contained into "args") like so:
How can I achieve this ?
Thanks ❤️
P.S.
With the button component I already solved the problem, but now I need to use the rowClick event, so without using button.
The text was updated successfully, but these errors were encountered: