© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4mo ago•
13 replies
bionary

Hiding Table Column Labels

Sometimes I use an
imageColumn
imageColumn
of
viewColumn
viewColumn
as the leftmost column in a table. For this column I don't want a label.
I noticed when setting a label with an empty string such as
->label('')
->label('')
the label is not shown however this automatically shows the column toggle menu (top right of table), which seems like an unintended side effect or maybe even a bug.

I can properly hide a label with:
ViewColumn::make('buyer_color')
    ->label(new HtmlString(' '))
ViewColumn::make('buyer_color')
    ->label(new HtmlString(' '))


But that seems strange.

Anyone know if filament has a better way of hiding a table column label without showing the toggle menu button?
Solution
@bionary Should be fixed with this PR: https://github.com/filamentphp/filament/pull/18386
GitHub
Dont show colum manager for blank columns without column groups by ...
Background: When column lables are blank and inside a column group, isToggleable() needs to evaluate to true for that column so that, even though the label is hidden in the manager, when the column...
Dont show colum manager for blank columns without column groups by ...
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

Table Column Labels
FilamentFFilament / ❓┊help
17mo ago
Table Action Labels
FilamentFFilament / ❓┊help
3y ago
Column labels for grid layout
FilamentFFilament / ❓┊help
3y ago
Table Column
FilamentFFilament / ❓┊help
3y ago