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');
6 Replies
Did you manage to find a solution to this?
Can you explain more?
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.
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
yeh but from UI / UX side of view actions here could provide some better interactions
Would definitely need a new method or render hook for that