पेज · Laravilt
Tables FAQ
Questions about table columns, filters and actions.
How do I define a resource table?
The generator creates a {Model}Table class:
php
How do I format values?
php
See Columns.
How do I add filters?
php
How do I filter by date?
There is no dedicated date filter class. Use a Filter with a form and a query:
php
See Filters.
How do I add row and bulk actions?
Actions live in the laravilt/actions package (namespace Laravilt\Actions):
php
->actions() also works for row actions. ->headerActions() and ->toolbarActions() place actions above the table.
How do I ask for confirmation?
php
See Table Actions and Actions.