Combining Relation Manager table with Parent table
I have the parent resource
VehicleMakeResoure
and the relation manager VehicleModelsRelationManager
. It is working as expected.
But how do I show the Vehicle models within the Vehicle Make table as groups?
Example:
https://live.datatables.net/nitemova/1/JS Bin
Sample of the bin:
1 Reply
share your VehicleMakeResoure code
try this.
https://filamentphp.com/docs/3.x/tables/grouping#grouping-by-a-relationship-attribute
use Filament\Tables\Table;
public function table(Table $table): Table
{
return $table
->groups([
'author.name',
]);
}