You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love to have a function that i can pass down on the table component to handle row clicks.
Problem Statement
In my app i have a table that is displaying a list of items. Currently i have an edit button to handle a user clicking a row and updating the item but that takes up a lot of space, especially on mobile. I would like an option to click the table row so i can remove this button.
Proposed Solution or API
handleRowClick = (rowItem: T) => void
or
handleRowClick = (rowId: number) => void
Alternatives
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Description
I would love to have a function that i can pass down on the table component to handle row clicks.
Problem Statement
In my app i have a table that is displaying a list of items. Currently i have an edit button to handle a user clicking a row and updating the item but that takes up a lot of space, especially on mobile. I would like an option to click the table row so i can remove this button.
Proposed Solution or API
or
Alternatives
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: