Introducing Laravel Quizzes! Play now

Laravel Livewire Tables Documentation

🎉 Enjoying this package? Consider sponsoring me on GitHub or buying me a beer.

This is the documentation for v2. You can switch versions in the menu at the top. Check your current version with the following command:

composer show rappasoft/laravel-livewire-tables


These are the available events on the datatable component that you can fire from your application:



Calls $refresh on the component. Good for updating from external sources or as an alternative to polling.


You can have the table sort a specific column:

$this->emit('setSort', 'name', 'asc');


You can clear all the applied sorts:



You can have the table run a specific filter:

$this->emit('setFilter', 'status', '1');


You can have the table clear all filters: