Download the PHP package xentixar/dynamic-table without Composer
On this page you can find all versions of the php package xentixar/dynamic-table. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package dynamic-table
Dynamic Table
xentixar/dynamic-table is a Filament package that adds dynamic table behavior.
Features
- Adds
Table::liveSelection()macro for reactive selection syncing. - Supports optional Livewire callback method execution on selection changes.
- Registers on both Filament Tables and Archilex Advanced Tables (if installed).
Requirements
- PHP 8.2+
- Filament Tables
^4.0 || ^5.0 - Illuminate Support
^11.0 || ^12.0 || ^13.0
Installation
Install with Composer:
The package uses Laravel package discovery, so the service provider is auto-registered.
Quick Start
Apply liveSelection() on your table definition:
Usage
1) Basic usage
2) Conditional enable/disable
3) Use custom Livewire property
4) Trigger a Livewire method on selection change
If livewireMethod is not provided, the component refreshes automatically.
API Reference
condition(bool, default:true)- Enable or disable live selection behavior.
livewireProperty(string, default:selectedTableRecords)- Livewire property used for current selection state.
livewireMethod(?string, default:null)- Optional Livewire method called when selection changes.
- Receives
(array $selectedRecords, array $deselectedRecords, bool $isTrackingDeselectedRecords).
Troubleshooting
Method liveSelection does not exist:- Run
composer dump-autoloadand clear app caches (php artisan optimize:clear).
- Run
- Callback not firing:
- Ensure the method name in
livewireMethodmatches exactly and ispublic.
- Ensure the method name in
- Selection state not where expected:
- Verify the
livewirePropertyname matches your component property.
- Verify the
License
MIT
See LICENSE for full text.
All versions of dynamic-table with dependencies
PHP Build Version
Package Version
The package xentixar/dynamic-table contains the following files
Loading the files please wait ...