How do I change row click behaviour from "show" to "edit"? #390
-
The default click behaviour on the first column of a list is How do I change the click behaviour to Can't find anything in the manual. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @pekka, sorry it's a little bit late, but I think it's just a row of detail from datatables, I guess? please let me know if I'm wrong, if you want to perform that kind of action, maybe you can create it with make a new list blade and put your custom javascript logic, like when you click that, get the model id and redirect to edit route? here's the same discussion about that via datatable's forum if you want to make a new custom list, please take a look at let me know if you have any issues, thx |
Beta Was this translation helpful? Give feedback.
-
I'm closing this issue due to inactivity. If you need further assistance or have additional questions, feel free to reopen this issue or create a new one. We're here to help! |
Beta Was this translation helpful? Give feedback.
Hi @pekka, sorry it's a little bit late, but I think it's just a row of detail from datatables, I guess? please let me know if I'm wrong, if you want to perform that kind of action, maybe you can create it with make a new list blade and put your custom javascript logic, like when you click that, get the model id and redirect to edit route?
here's the same discussion about that via datatable's forum
https://datatables.net/forums/discussion/48359/click-on-table-and-redirect-page
https://datatables.net/examples/api/row_details.html
if you want to make a new custom list, please take a look at
https://backpackforlaravel.com/docs/5.x/crud-operation-list-entries#the-view-1
let me know if you ha…