© 2026 Hedgehog Software, LLC

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

Relation manager (Hide Table data from table record)

Hi All,

I use the table of the (in my case) ProjectResource.
In that table i want to hide one or 2 columns in the relation manager table.

Example of table.
The first Stack::make (with company.companyname and contact.full_name) needs to be vissible on the "ProjectResource" but Hidden in RalationsshipManager


        return $table
            ->columns([
                Split::make([
                    Stack::make([
                        TextColumn::make('company.companyname')
                            ->weight(FontWeight::Bold)
                            ->searchable(),
                        TextColumn::make('contact.full_name'),
                    ])->grow(false),
                    Stack::make([
                        TextColumn::make('subject')
                            ->weight(FontWeight::Bold)
                            ->searchable(),
                        TextColumn::make('number')
                            ->searchable()
                            ->sortable(),
                    ])->grow(false),

        return $table
            ->columns([
                Split::make([
                    Stack::make([
                        TextColumn::make('company.companyname')
                            ->weight(FontWeight::Bold)
                            ->searchable(),
                        TextColumn::make('contact.full_name'),
                    ])->grow(false),
                    Stack::make([
                        TextColumn::make('subject')
                            ->weight(FontWeight::Bold)
                            ->searchable(),
                        TextColumn::make('number')
                            ->searchable()
                            ->sortable(),
                    ])->grow(false),
Solution
Found the solution in the documentation : https://filamentphp.com/docs/3.x/panels/resources/relation-managers#hiding-a-shared-form-component-on-the-relation-manager
This also works with tables
Managing relationships - Panel Builder - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Hide edit button in relation manager table
FilamentFFilament / ❓┊help
2y ago
Conditionally hide relation manager
FilamentFFilament / ❓┊help
2y ago
relation manager record information
FilamentFFilament / ❓┊help
2y ago
How to update Relation Manager table data
FilamentFFilament / ❓┊help
15mo ago