How to display the widgets instead of normal table in relation manager?

<?php namespace App\Filament\Admin\Resources\MerchantResource\RelationManagers; use App\Filament\Admin\Widgets\MerchantStats; use App\Filament\Admin\Widgets\ProductsAvailed; use App\Filament\Admin\Widgets\SalesChart; use Filament\Resources\RelationManagers\RelationManager; class StorePerformanceRelationManager extends RelationManager { protected static string $relationship = 'transactions'; protected static ?string $title = 'Store Performance'; protected static ?string $label = 'Store Performance'; protected static ?string $pluralLabel = 'Store Performance'; protected function getFooterWidgets(): array { return [ MerchantStats::class, ProductsAvailed::class, SalesChart::class, ]; } }
No description
5 Replies
toeknee
toeknee2w ago
You can't last time I checked
Jerome V
Jerome VOP6d ago
also this, is this possible in filament?
No description
toeknee
toeknee6d ago
Similar to it yes, that's a resouce table with widgets and and form filter widget too.
Jerome V
Jerome VOP5d ago
Thanks sir... I make a page then import the widgets.
toeknee
toeknee4d ago
You can then just add a table widget, but I would just build a resource and add the widgets personally.

Did you find this page helpful?