FilamentF
Filament17mo ago
jjo63

->description() - is it possible to further style?

Table columns and using the ->description() method (correct term?) for example like this

            Tables\Columns\TextColumn::make('name')
                    ->label('Filename')
                    ->description('my description')
                    ->sortable(),

Is it possible to apply styling to the description (such as badge and setting a colour)? I don't think that description() supports this natively and am sure that there is a method to further style using some kind of custom code but wouldn't know where to start on this. Any pointers?

thx
j
Was this page helpful?