Can I add action to Table Group ?

All I want is when User click that action user will be redirect to that resource edit/view page! Is it possible to add action on table group? ])->groups([ Tables\Grouping\Group::make('orderGroup.invoice_id') ->collapsible(), ])->defaultGroup('orderGroup.invoice_id');
No description
6 Replies
Crylar
Crylar6mo ago
Did you manage to find a solution to this?
toeknee
toeknee6mo ago
Can you explain more?
Crylar
Crylar6mo ago
I guess what OP was looking was an ability to include actions on the right corner for the grouping. In his original request he was looking for a custom view action that would open a resource that is representing a particular invoice. In my case, I have many products grouped by category, and looking forward to have an action on the right side of the group, so I could access that particular category resource, or do some other related actions.
toeknee
toeknee6mo ago
Ahh ok so to go to like the parent invoice? I would just create another action called invoice in this instance personally which goes to the invoice
Crylar
Crylar6mo ago
yeh but from UI / UX side of view actions here could provide some better interactions
No description
toeknee
toeknee6mo ago
Would definitely need a new method or render hook for that
Want results from more Discord servers?
Add your server