F
Filament2mo ago
Enas

Split in table

Hello all, I have a column in table which contains a photo, name and email, now I want to show them as the attached photo (image on the left and text in the right). Anyone can help?
2 Replies
Adnan Yalahow
Adnan Yalahow2mo ago
Tables\Columns\Layout\Split::make([
Tables\Columns\ImageColumn::make('image')
->grow(false)->circular(),
Tables\Columns\Layout\Stack::make([
Tables\Columns\TextColumn::make('name')
->searchable()
->sortable(),
Tables\Columns\TextColumn::make('email'),
])
])
Tables\Columns\Layout\Split::make([
Tables\Columns\ImageColumn::make('image')
->grow(false)->circular(),
Tables\Columns\Layout\Stack::make([
Tables\Columns\TextColumn::make('name')
->searchable()
->sortable(),
Tables\Columns\TextColumn::make('email'),
])
])
Enas
Enas2mo ago
That's what I want, thank you so much.
Want results from more Discord servers?
Add your server