title | weight |
---|---|
Column Selection |
5 |
Column select is on by default. All columns are selected by default and saved in the users session.
If you don't want a column to be able to be turned off from the column select box, you may exclude it:
Column::make('Address', 'address.address')
->excludeFromColumnSelect()
Enabled by default, enable/disable column select for the component.
public function configure(): void
{
$this->setColumnSelectStatus(true);
$this->setColumnSelectStatus(false);
}
Enable column select on the component.
public function configure(): void
{
// Shorthand for $this->setColumnSelectStatus(true)
$this->setColumnSelectEnabled();
}
Disable column select on the component.
public function configure(): void
{
// Shorthand for $this->setColumnSelectStatus(false)
$this->setColumnSelectDisabled();
}
Enabled by default, whether or not to remember the users column select choices.
public function configure(): void
{
$this->setRememberColumnSelectionStatus(true);
$this->setRememberColumnSelectionStatus(false);
}
Remember the users column select choices.
public function configure(): void
{
// Shorthand for $this->setRememberColumnSelectionStatus(true)
$this->setRememberColumnSelectionEnabled();
}
Forget the users column select choices.
public function configure(): void
{
// Shorthand for $this->setRememberColumnSelectionStatus(false)
$this->setRememberColumnSelectionDisabled();
}