Label for Table Actions

Hi is there any solution to add Actions label in table for example now in the columns does not have any label I need to add "Actions" as a label in column
Solution:
Add ->actionsColumnLabel('Actions') to the $table
Jump to solution
3 Replies
Solution
Adam Holmes
Adam Holmes2mo ago
Add ->actionsColumnLabel('Actions') to the $table
fenerli
fenerli2mo ago
use Filament\Tables; use Filament\Resources\Table; public function table(Table $table) { return $table ->columns([ Tables\Columns\TextColumn::make('item') ->label('Item'), Tables\Columns\TextColumn::make('description') ->label('Description'), Tables\Columns\TextColumn::make('actions') ->label('Actions') // Adding the Actions label here ->formatStateUsing(fn ($record) => view('your-actions-view', ['record' => $record])), ]) ->actions([ Tables\Actions\EditAction::make(), Tables\Actions\DeleteAction::make(), ]); }
abdullafahem
abdullafahemOP2mo ago
Thanks
Want results from more Discord servers?
Add your server