© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
12 replies
pocket.racer

how to display sort selections with Table ViewColumn?

I have a piece of code like this

->columns([
                Split::make([
                    TextColumn::make('amount')
                        ->sortable()
                        ->hidden(),

                    TextColumn::make('discount')->sortable()->hidden(),
                ]),

                View::make('complicated-view to display multiple things in a very custom manner'),
            ])
->columns([
                Split::make([
                    TextColumn::make('amount')
                        ->sortable()
                        ->hidden(),

                    TextColumn::make('discount')->sortable()->hidden(),
                ]),

                View::make('complicated-view to display multiple things in a very custom manner'),
            ])


However i didn't get the amount and discount sort to appear

This is what i had in mind (which didn't happen). I tried to use the Split to get the Sort by thing to show but it didn't too
CleanShot_2023-11-10_at_17.19.192x.png
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

Table Grid Layout and ViewColumn
FilamentFFilament / ❓┊help
8mo ago
How to sort table by relationship?
FilamentFFilament / ❓┊help
15mo ago
Persistent search selections on table
FilamentFFilament / ❓┊help
2y ago
How to sort resource table into latest()?
FilamentFFilament / ❓┊help
3y ago