How to Show Multiple column data in one set through BelongToSelect like KM/M/1000

How to Show Multiple column data in one set through BelongToSelect like KM/M/1000
2 Replies
Sujay Barma
Sujay Barma3mo ago
I am trying to show 3 columns data in single Table column. But it show only blank.
Tables\Columns\TextColumn::make('properties')->label('Properties')
->formatStateUsing(function($record){
return "Length: {$record->length} \n Frames: {$record->frames} \n Size: {$record->size}M";
})->wrap(),
Tables\Columns\TextColumn::make('properties')->label('Properties')
->formatStateUsing(function($record){
return "Length: {$record->length} \n Frames: {$record->frames} \n Size: {$record->size}M";
})->wrap(),
Please suggest.
Want results from more Discord servers?
Add your server