rappasoft/laravel-livewire-tables
Laravel Livewire Tables provides dynamic, feature-rich data tables for Laravel Livewire with sorting, searching, filtering, pagination, bulk actions, and Bootstrap/Tailwind support. Build reusable table components backed by Eloquent queries.
Disabled by default, set the refresh parameters on the component.
Note: You should only enable one of the following methods on the component.
Set the amount of time in milliseconds as a refresh interval.
public function configure(): void
{
$this->setRefreshTime(2000); // Component refreshes every 2 seconds
}
Keep polling when the tab with the component is in the background.
public function configure(): void
{
$this->setRefreshKeepAlive();
}
Only refresh the component when it is visible.
public function configure(): void
{
$this->setRefreshVisible();
}
Fire a specific action when polling. This is only necessary when you wish to call additional actions on each refresh. You must have a public function with the same name as the refresh method.
public function configure(): void
{
$this->setRefreshMethod('refreshTable');
}
public function refreshTable()
{
// Custom Code Here
}
How can I help you explore Laravel packages today?