Actions in a table group header

Hello, is there anyway to add Actions in the headed of Group component that I'm using to group some rows of the table?
3 Replies
Matthew
Matthew2w ago
Out the box, don't think so.
toeknee
toeknee2w ago
Yes you can, just use an ActionGroup.
->headerActions([
Tables\Actions\ActionGroup::make(
[
Tables\Actions\Action::make('test')
->label('Test'),
]),
])
->headerActions([
Tables\Actions\ActionGroup::make(
[
Tables\Actions\Action::make('test')
->label('Test'),
]),
])
Matthew
Matthew4d ago
That's the head of the table, having grouped actions...no? I think OP wants Actions in the heading of each grouped row

Did you find this page helpful?