trait CanToggleColumns (View source)

Properties

protected int $columnToggleFormColumns
protected string|Closure|null $columnToggleFormMaxHeight
protected MaxWidth|string|Closure|null $columnToggleFormWidth
protected Closure|null $modifyToggleColumnsTriggerActionUsing

Methods

toggleColumnsTriggerAction(Closure|null $callback)

No description

columnToggleFormColumns(int|array|Closure $columns)

No description

columnToggleFormMaxHeight(string|Closure|null $height)

No description

columnToggleFormWidth(MaxWidth|string|Closure|null $width)

No description

getColumnToggleForm()

No description

int|array
getColumnToggleFormColumns()

No description

string|null
getColumnToggleFormMaxHeight()

No description

MaxWidth|string|null
getColumnToggleFormWidth()

No description

bool
hasToggleableColumns()

No description

Details

CanToggleColumns toggleColumnsTriggerAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

CanToggleColumns

CanToggleColumns columnToggleFormColumns(int|array|Closure $columns)

No description

Parameters

int|array|Closure $columns

Return Value

CanToggleColumns

CanToggleColumns columnToggleFormMaxHeight(string|Closure|null $height)

No description

Parameters

string|Closure|null $height

Return Value

CanToggleColumns

CanToggleColumns columnToggleFormWidth(MaxWidth|string|Closure|null $width)

No description

Parameters

MaxWidth|string|Closure|null $width

Return Value

CanToggleColumns

Action getToggleColumnsTriggerAction()

No description

Return Value

Action

Form getColumnToggleForm()

No description

Return Value

Form

int|array getColumnToggleFormColumns()

No description

Return Value

int|array

| array<string, int | null>

string|null getColumnToggleFormMaxHeight()

No description

Return Value

string|null

MaxWidth|string|null getColumnToggleFormWidth()

No description

Return Value

MaxWidth|string|null

bool hasToggleableColumns()

No description

Return Value

bool