Open demonkaen opened 2 years ago
please try with this syntax.
<livewire:datatable
model="App\Models\Sucursal"
exportable
exclude="created_at,updated_at,id"
searchable="description,address,phone,enabled"
/>
please try with this syntax.
<livewire:datatable model="App\Models\Sucursal" exportable exclude="created_at,updated_at,id" searchable="description,address,phone,enabled" />
Not working, I also have a similar issue
and this ?
<livewire:datatable
model="App\Models\Sucursal"
exclude="created_at,updated_at,id"
searchable="description,address,phone,enabled"
exportable
/>
sure to have space between attribute ? test with exportable at end...
doesn't work :/
when i used the datatable with my mode, and i enabled the propery exportable, i get an error with the property preventExport and showed in this line
this is the use of datatable at view <livewire:datatable model="App\Models\Sucursal" exportable :exclude="['created_at','updated_at','id']" :searchable="['description','address','phone','enabled']" />
*Laravel9