Is it possible to refresh table content on action?

I have a custom action -

                Tables\Actions\Action::make('status.confirm')
                    ->button()
                    ->label('Confirm Order')
                    ->color('success')
                    ->action(function (Order $record) {
                        $record->status = OrderStatus::CONFIRMED;
                        $record->save();
                    })->visible(fn (Order $record) => $record->status == OrderStatus::PAID),


I would like to somehow trigger a table refresh to reflect a new update for the record.
Was this page helpful?