Skip to content

Configuration reference

Publish config/inertia-table.php only when the application needs different global defaults.

bash
php artisan vendor:publish --tag=inertia-table-config

Table defaults

KeyDefaultMeaning
per_page25Initial page size
per_page_options[10, 25, 50, 100]Allowed page sizes
pagination_type'full'full, simple, or cursor
debounce300Search/filter/layout debounce in milliseconds

Sticky layout

KeyDefaultMeaning
sticky.footerfalseDefault sticky summary footer behavior
sticky.backdrop_filtertrueBlur horizontally sticky body/footer cells

Column interactions

KeyDefaultMeaning
columns.resizabletrueAllow columns marked resizable() to resize
columns.reorderabletrueAllow columns marked reorderable() to move

Managed actions

KeyDefaultMeaning
action_path_inertia-table/actionsSigned action route prefix
actions.queue.connectionnullLaravel default connection when null
actions.queue.queuenullConnection default queue when null
actions.queue.delay0Dispatch delay in seconds
actions.queue.expires_after86400Operation expiry in seconds
actions.queue.status_retention86400Terminal status retention in seconds
actions.queue.after_committrueDispatch after active DB transaction commits

Exports

KeyDefaultMeaning
export_path_inertia-table/exportsSigned export route prefix
exporters.csvNativeCsvExporter::classCSV adapter
exporters.xlsxLaravelExcelExporter::classOptional XLSX adapter
exporters.pdfLaravelExcelExporter::classOptional PDF adapter
exports.chunk_size1000Default Eloquent export chunk size

Relationship sorting

KeyDefault
relationship_sorterPowerJoinsRelationshipSorter::class

The default adapter requires the optional Eloquent Power Joins package only when an automatic to-one relationship sort is executed.

Queued exports

KeyDefaultMeaning
queue.connectionnullLaravel default connection when null
queue.queuenullConnection default queue when null
queue.delay0Dispatch delay in seconds
queue.disk'local'Filesystem disk for generated files
queue.path'table-exports'Directory on the selected disk
queue.expires_after604800File/status expiry in seconds

Saved Views

KeyDefaultMeaning
view_path_inertia-table/viewsSigned Saved View route prefix
views.table'table_views'Persistence table name

Changing route paths invalidates previously signed URLs. Changing the Saved View table name requires the published migration and model configuration to agree.

Released under the MIT License.