F
Filament10mo ago
Igor

Can't reproduce stack column documentation layout

Hi, I'm trying to stack two columns into one, looking at the documentation I can see that there are some components for this, but when I do it in my code, all columns are affected, even the outside of split/stack. I'm doing something wrong? * I'm using groups and filter as well return $table ->defaultGroup('status') ->defaultSort('updated_at', 'desc') ->groups([ Group::make('status') ->titlePrefixedWithLabel(false)->collapsible(), ]) ->columns([ Split::make([ Stack::make([ TextColumn::make('id') ->label('Chamado ID') ->searchable(), TextColumn::make('processo') ->copyable() ->searchable(), ])->space(1), ]), TextColumn::make('cliente.nome') ->wrap() ->searchable(),
1 Reply
Tieme
Tieme10mo ago
If you use split than you need to wrap all columns in the split. The table is not a default table anymore if you use split.
Want results from more Discord servers?
Add your server