table_builder
class table_builder
Table Builder.
Fluid API to define data tables that can be consumed by Vue components.
Methods
static table_builder
make()
Start a new table definition.
column(string $key, string $label, array $settings = [])
Add a column to the table.
filter(string $key, string $label, string $type = 'select', array $options = [])
Add a filter definition.
action(string $key, string $label, string $icon = '', array $props = [])
Add an action button.
with_options(array $options)
Set general table options.
build()
Build the final configuration DTO.
Details
at line 44
static table_builder
make()
Start a new table definition.
at line 64
table_builder
column(string $key, string $label, array $settings = [])
Add a column to the table.
at line 88
table_builder
filter(string $key, string $label, string $type = 'select', array $options = [])
Add a filter definition.
at line 110
table_builder
action(string $key, string $label, string $icon = '', array $props = [])
Add an action button.
at line 129
table_builder
with_options(array $options)
Set general table options.
at line 141
table_config
build()
Build the final configuration DTO.