Action on press of record in table?

I have the following actions in my AssetResource:
 ->actions([
                Tables\Actions\Action::make('action')
                    ->label('Action')
                    ->translateLabel()
                    ->action(function () {
                      // Action logic
                    }),
                DefaultActionGroup::make(),
            ])

Is there a way that instead of creating a text where, when pressed on, performs the action. You can just click on the row of the record. Currently whenever I press on the record it just goes to the view page.
Was this page helpful?