Column visibility
Call toggleable() to include a column in the column picker:
use InertiaX\Components\Table\Columns\TextColumn;
TextColumn::make('email')->toggleable();Start with a hidden column
Section titled “Start with a hidden column”TextColumn::make('email')->visible(false)->toggleable();To set the default for all columns, call toggleableColumns() on the table. Explicit column
options override table-wide defaults.
Visibility state
Section titled “Visibility state”Visibility changes do not request data or update the URL. They survive new results while the table definition stays the same. A change to columns, filters, capabilities, or row key resets visibility to the new definition’s defaults.
Use the controller to read, set, or reset visibility from custom UI.