© 2026 Hedgehog Software, LLC

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

Align two TextColumns next to each in a split / stack

Is it possible to align two TextColums next to each other?

I have this at the moment:

Summer 2024
01-07-2024
31-07-2024

But I want to have it like:

Summer 2024
01-07-2024 31-07-2024

Is this possible with the table builder in Filament? This is what I have at the moment:

Split::make([
                    Stack::make([
                        TextColumn::make('season.name')
                            ->label(__('Season')),

                        Stack::make([
                            TextColumn::make('season.start_date')
                                ->color('gray')
                                ->date('d-m-Y'),
                        TextColumn::make('season.end_date')
                            ->color('gray')
                            ->date('d-m-Y'),
                        ])
                    ]),
                ])
Split::make([
                    Stack::make([
                        TextColumn::make('season.name')
                            ->label(__('Season')),

                        Stack::make([
                            TextColumn::make('season.start_date')
                                ->color('gray')
                                ->date('d-m-Y'),
                        TextColumn::make('season.end_date')
                            ->color('gray')
                            ->date('d-m-Y'),
                        ])
                    ]),
                ])
Solution
TextColumn::make(‘custom_date’)
  ->getStateUsing(fn ($record) => $record->season->start_date . ‘ ‘ . $record->season->end_date)
TextColumn::make(‘custom_date’)
  ->getStateUsing(fn ($record) => $record->season->start_date . ‘ ‘ . $record->season->end_date)
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

Two TextColumns from same field
FilamentFFilament / ❓┊help
3y ago
Display two sections next to each other
FilamentFFilament / ❓┊help
3y ago
Sortable column in a Split & Stack table
FilamentFFilament / ❓┊help
2y ago
Grid table, align stack component to bottom.
FilamentFFilament / ❓┊help
16mo ago