公告: 旧版文档请移步 -> http://v2.laravel-filament.cn/docs

Languages

Version

Theme

Table Builder - Columns

Toggle column

The toggle column allows you to render a toggle button inside the table, which can be used to update that database record without needing to open a new page or a modal:

use Filament\Tables\Columns\ToggleColumn;
 
ToggleColumn::make('is_admin')
Edit on GitHub

Still need help? Join our Discord community or open a GitHub discussion