© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Archy

Cannot show value from pivot table in table builder column?

I have two models; User and Talent.

A belongsToMany relationship is defined on both models.

In the pivot table (talent_user) I have a column named 'score'.

I wan't to display this value next to the talent in a table. I cannot, however, figure out to display this pivot column value in the table.

Relevant code used to define the relationship and display the table is included in this gist: https://gist.github.com/ph1llips/66d233be355b1df2b0b23a5e71520552
Gist
How to show value from pivot column in table column
How to show value from pivot column in table column - Talent.php
How to show value from pivot column in table column
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

Show Pivot Table
FilamentFFilament / ❓┊help
3y ago
Pivot column value in relation manager table missing after allowDuplicates()
FilamentFFilament / ❓┊help
2mo ago
hide a column in table builder
FilamentFFilament / ❓┊help
3y ago
Display count of relationship in table column where pivot value = something
FilamentFFilament / ❓┊help
3y ago