- Creating Columns
- Relationships
- Available Methods
- Other Column Types
- Column Selection
- Secondary Header
- Footer
Getting Started
Usage
DataTable
Columns
Rows
Sorting
Pagination
Search
Bulk Actions
Filters
Reordering
Secondary Header
Footer
Examples
Misc.
Sponsored
Advanced Usage
Examples
🎉 Enjoying this package? Consider sponsoring me on GitHub or buying me a beer.
This is the documentation for v2 but the latest version is v3. You can switch versions in the menu on the left/at the top. Check your current version with the following command:
composer show rappasoft/laravel-livewire-tables
Refreshing
Disabled by default, set the refresh parameters on the component.
Note: You should only enable one of the following methods on the component.
setRefreshTime
Set the amount of time in milliseconds as a refresh interval.
1public function configure(): void2{3 $this->setRefreshTime(2000); // Component refreshes every 2 seconds4}
setRefreshKeepAlive
Keep polling when the tab with the component is in the background.
1public function configure(): void2{3 $this->setRefreshKeepAlive();4}
setRefreshVisible
Only refresh the component when it is visible.
1public function configure(): void2{3 $this->setRefreshVisible();4}
setRefreshMethod
Fire a specific action when polling.
1public function configure(): void2{3 $this->setRefreshMethod('refresh');4}