MedicOneSystems/livewire-datatables

Refresh datatable

khadraoui-ines opened this issue · 1 comments

Hi,
I am having an issue when I try to refresh my datatable
The content of the table (data) is refreshing correctly, but the labels of the columns aren't
The initial labels aren't changing
Any idea please?

hi I found this listener

https://github.com/MedicOneSystems/livewire-datatables/blob/be96bed53adfbc0842d789f0b77c2000ff99cdac/src/Http/Livewire/LivewireDatatable.php#L88
So you can do something like this $this->emit('refreshLivewireDatatable') and it should work. Do let me know if it does work.