Column::{type}('{field name}', '{column label}')

Creates new column and adds it to the current model configuration.

Supported Types

Register Custom Type

See custom columns.

Restrict Column Sort

Column::string('my_field')->sortable(false)

Mark Column as Default Sortable

Column::string('title')->sortableDefault()

Column Appendants

See column appendants.