Closed frequentredundancy closed 3 years ago
You can probably do it with the setTableRowAttributes method, but i'll give it a dedicated method in the next release.
https://github.com/rappasoft/laravel-livewire-tables/commit/09448e689ccc25f300fc2bd31049104f068915bb
It's crude but it will work.
I have certain rows that I want to be clickable (across the whole row), that redirects to a named route.
I don't want to edit the table blade directly since the route will change based on the table, and some tables wont be clickable at all.
How would I do about doing this? Thanks.