© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
sdousley

Table Column - end of string

Hi

I have a table, in which will be a sharepoint link, now that link - as you can imagine - will get quite long, so we would like a way to only show the last part of that url, or some different text. We have the copyable() method on the column, which is currently copying the sharepoint link fine.

Is this something we can do, or could we make it so that just the word "link" shows rather than the actual column value?
Solution
You can use
formatStateUsing()
formatStateUsing()

https://filamentphp.com/docs/3.x/tables/columns/text#custom-formatting

The
TextColumn
TextColumn
also supports
url()
url()
Text column - Table 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

Get Name Of Table Column?
FilamentFFilament / ❓┊help
3y ago
Table Column
FilamentFFilament / ❓┊help
3y ago
Table column
FilamentFFilament / ❓┊help
3y ago
Hide table column based on value of another column
FilamentFFilament / ❓┊help
11mo ago