how to show the mobile number with country code

I want to combine values of two table columns and show them in the one column. how do i acheive that?
Solution
Build a virtual column if it's a list view?
TextColumn('full_number')->formatStateUsing(fn($record) => '+' . $record->area_code . $record->phone_number)
Was this page helpful?