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?
2 Replies
Matthew
Matthew3d ago
Out the box, don't think so.
toeknee
toeknee3d 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'),
]),
])

Did you find this page helpful?