Filament: Toggleable Table Columns

In tables, you can make any column toggleable, hiding it from the table in the top right corner.

Just add the method toggleable() to the chain.

TextColumn::make('email')
->toggleable()

Changing the method parameter to "true" makes it hidden by default.

TextColumn::make('email')
->toggleable(isToggledHiddenByDefault: true)

Link to docs

Like our articles?

Become a Premium Member for $129/year or $29/month
What else you will get:
  • 68 courses (1188 lessons, total 43 h 18 min)
  • 90 long-form tutorials (one new every week)
  • access to project repositories
  • access to private Discord

Recent New Courses