FilamentF
Filament2y 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(),
Was this page helpful?