© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago
DSA Sadev

Relation BelongToMany not working when Group in table.

I need help, I created a table with a model that uses belongToMany on the table, for TextColumn it can be displayed, but not for grouping, and also can't select checkbox for its grouping data. Has anyone succeeded in using it?

this is part of the code I created:

return $table
->query(Awb::query()->whereIn('status', [StatusAwb::PROSES, StatusAwb::SELESAI]))
->defaultGroup('drs.kode_drs')
->groups([
Group::make('drs.kode_drs')
->label('Kode DRS'),
Group::make('drs.kurir.name')
->label('Kurir'),
])
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Edit relationship in table (belongtomany) in modal
FilamentFFilament / ❓┊help
2y ago
Not standard group table
FilamentFFilament / ❓┊help
3y ago
Group By in table
FilamentFFilament / ❓┊help
2y ago
Group by in Table
FilamentFFilament / ❓┊help
3y ago