Advertisement

Responsive Advertisement

Filament Table Row Click: Open Modal Window View

 

 

 

 

 

 Untuk membuat Filament agar Row saat di klik menampilkan view modal action maka begini caranya

 

use Filament\Tables;
 
class PostResource extends Resource
{
// ...
 
public static function table(Table $table): Table
{
return $table
->columns(...)
->filters(...)
->actions(...)
->bulkActions(...)
->recordAction(Tables\Actions\ViewAction::class)
->recordUrl(null);
}
 
// ...
}
 
 

 




https://filamentphp.com/docs/2.x/admin/resources/viewing-records

Posting Komentar

0 Komentar