Table width in widget?

Any ideas how to make this table widget full width? I'm also looking to widen the "notes" : TextInputColumn It would be great if that particular column expanded to make the table full width. Relevant code below:

use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Columns\TextInputColumn;
use Filament\Widgets\TableWidget;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Collection;
use Illuminate\Database\Eloquent\Builder;

class ClientDocumentsList extends TableWidget {
    protected static string $view = 'filament.resources.qb-client-resource.widgets.client-documents-list';

    public ?Model $record = null;
    public Collection $documents;
    protected int | string | array $columnSpan = 'full';


    protected function getTableColumns(): array {
        return [
            TextColumn::make('public_basename'),
            TextColumn::make('type'),
            TextColumn::make('created_at')->dateTime(config('app.datetime_format'))->label('Date')->sortable(),
            TextInputColumn::make('notes')->rules(['max:255']),
        ];
    }
...
image.png
Was this page helpful?