© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
4 replies
MZX

Format boolean columns in exporter?

Instead of 1 and 0 I want it to bes Yes or No in the csv/xslx file.

ExportColumn::make('is_late')
                ->formatStateUsing(fn ($state) => $state ? 'Yes' : 'No')
                ->label('Late'),
ExportColumn::make('is_late')
                ->formatStateUsing(fn ($state) => $state ? 'Yes' : 'No')
                ->label('Late'),


This is what I did, but doesn't work.
Solution
Yeah there's some weird bugs with the exporter. Cleaning the cache and jobs table fixes it.
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Dynamic columns in exporter
FilamentFFilament / ❓┊help
2y ago
Exporter - dynamic generated columns
FilamentFFilament / ❓┊help
10mo ago
Exporter : get visible columns only
FilamentFFilament / ❓┊help
8mo ago
V4 Exporter Action - set amount of columns?
FilamentFFilament / ❓┊help
5mo ago