© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
ingmontoya

Merge two columns into one?

Hi, I'm new using filament and what I need is simple ( I believe ) I just want to display into one column (full name) two columns from model (firstName and lastName) tried with this but didn't work ... any ideas?
image.png
Solution
what i do is create attribute inside my model
    public function getFullnameAttribute()
    {
        return $this->first_name.' '.$this->last_name;
    }
    public function getFullnameAttribute()
    {
        return $this->first_name.' '.$this->last_name;
    }
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 columns in one cell
FilamentFFilament / ❓┊help
3y ago
Import CSV, Merge Columns
FilamentFFilament / ❓┊help
9mo ago
Two columns form
FilamentFFilament / ❓┊help
3y ago
Merge two cards with different number of columns without having borders
FilamentFFilament / ❓┊help
3y ago