In branch v2 you can't use relations for a column. For example:
...
Column::make(__('Number of Assigned Districts'), 'districts.name')
...
Throw following error:
Rappasoft\LaravelLivewireTables\Views\Column::setTable(): Argument #1 ($table) must be of type string, null given, called in /var/www/html/vendor/rappasoft/laravel-livewire-tables/src/Traits/Helpers/ColumnHelpers.php on line 24
In v1 it works great and in the row template I can use the row relation and as well for search.
In branch v2 you can't use relations for a column. For example:
Throw following error:
In v1 it works great and in the row template I can use the row relation and as well for search.