F
Filament4mo ago
ericmp

Add Action For Table Group

Lets say i have a table of posts grouped by user_id
return $table
->groups([
Tables\Grouping\Group::make('user_id')
return $table
->groups([
Tables\Grouping\Group::make('user_id')
i want to add an action that will publish all posts of that user id. is there a way to add an action next to the row group? this way, id be able to publish the posts with a specific user_id at once for this specific example seems like a scoped bulk action for grouped records. but i dont mean this. imagine that the action will be something different, like updating a user field for whatever reason. is more like a header action, but for the group, which would return, in this case, the user_id, and then the developer, would do whatever has to be done with that id
6 Replies
ericmp
ericmpOP4mo ago
i image the action beign shown inside the red circles
No description
ericmp
ericmpOP3mo ago
bump
awcodes
awcodes3mo ago
I don’t think this is currently possible.
ericmp
ericmpOP3mo ago
u think it would be useful to be added into v4?
Crylar
Crylar3mo ago
This would be epic if we could have this in v4... I needed this sort of functionality recently.
ericmp
ericmpOP3mo ago
i do tooooo lets pray xd but dont think so
Want results from more Discord servers?
Add your server