LinkColumn
class LinkColumn extends Column
Traits
Properties
| string | $column_id | The unique identifier column for rows. |
from Columns |
| string | $custom_column_id | A custom column ID override. |
from Columns |
| Collection|null | $columns | Collection of defined columns. |
from Columns |
| bool | $show_column_toggle | Whether to show the column toggle dropdown. |
from Columns |
| bool | $column_toggle_dd_status | Status of the column toggle dropdown (open/closed). |
from Columns |
| bool | $hasMobileCollapsedColumns | Indicates if there are columns collapsed on mobile view. |
from Columns |
| array | $mobileCollapsedColumns | Array of columns that are collapsed on mobile. |
from Columns |
| string | $label | from Column | |
| string | $key | from Column | |
| string | $index | from Column | |
| $isVisible | from Column | ||
| $isHidden | from Column | ||
| $hideFromSelector | from Column | ||
| $customData | from Column | ||
| $classes | from Column | ||
| $th_classes | from Column | ||
| $th_wrapper_classes | from Column | ||
| bool | $has_modified_data | ||
| $hide_on_mobile | from Column | ||
| $collapseOnMobile | from Column | ||
| $show_on_mobile | from Column | ||
| $cardTitle | from Column | ||
| $showOnCard | from Column | ||
| $isEditable | from Column | ||
| $editableType | from Column | ||
| $editableOptions | from Column | ||
| $editableCallback | from Column | ||
| $sortableCallback | from Column | ||
| $searchableCallback | from Column | ||
| $isSortable | from Column | ||
| $isSearchable | from Column | ||
| static protected | $existingKeys | from Column | |
| $updateField | from Column | ||
| bool | $isLink | ||
| mixed | $href | ||
| string|null | $text | ||
| string|null | $tag_styles |
Methods
__construct(string $label, string|null $key = null)
Create a new LinkColumn instance.
collapseOnMobile(bool $bool = true)
Set the column to collapse on mobile devices.
from
Column
Details
in
Columns at line 60
setColumns()
No description
in
Columns at line 99
getFreshColumns()
No description
in
Columns at line 107
showColumnToggle(bool $bool)
No description
in
Columns at line 112
setColumnID(string $column_id)
No description
in
Columns at line 225
Columns
popup(array $array = ["width" => 750, "height" => 800])
No description
at line 44
__construct(string $label, string|null $key = null)
Create a new LinkColumn instance.
at line 56
static Column
make(string $label, string|null $key = null)
Static factory method.
in
Column at line 83
Column
collapseOnMobile(bool $bool = true)
Set the column to collapse on mobile devices.
in
Column at line 124
Column
searchable(bool|callable $callback = true)
Mark the column as searchable.
in
Column at line 143
Column
editable(string $type = 'input', array $options = [], callable|null $onUpdate = null)
Mark the column as editable.
in
Column at line 180
static
resetStaticKeys()
No description
in
Column at line 185
protected string
generateUniqueKey(string $label)
No description