🎉 Enjoying this package? Consider sponsoring me on GitHub or buying me a beer.
This is the documentation for v1 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
The Primary Key
Every row must have a primary key. By default, it will use id
. But if you have something other than that such as uuid
then you can use the $primaryKey
property.
1public string $primaryKey = 'uuid';
See also, troubleshooting.