页面 · Laravilt
Column Visibility
Let users show and hide columns from the column menu.
Columns are toggleable by default, so users can hide them from the column menu.
php
To remove a column entirely (for example, based on permissions), use visible() or hidden():
php
API reference
| Method | Description |
|---|---|
toggleable($condition = true, $isToggledHiddenByDefault = false) | Allow hiding; optionally start hidden |
visible(), hidden() | Remove the column entirely |