MedicOneSystems / livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS
https://livewire-datatables.com/
MIT License
1.19k stars 259 forks source link

enableSummary() doesn't work #404

Closed alexandergziresis closed 2 years ago

alexandergziresis commented 2 years ago

Hi, when i use this function i get this error:

Call to undefined method Mediconesystems\LivewireDatatables\Column::enableSummary()

thyseus commented 2 years ago

Hey; do you use the most recent dev-master version on github? The packagist.org version is unfortunately outdated.

alexandergziresis commented 2 years ago

Excuseme, how i install dev-master in laravel? i only use composer install, thanks for your help

thyseus commented 2 years ago

Please see https://github.com/MedicOneSystems/livewire-datatables/issues/403

thyseus commented 2 years ago

I was able to publish a 0.7.0 version to packagist.org. Please try this and let me know if it works.

alexandergziresis commented 2 years ago

thanks a lot thyseus, i didn't get that error anymore , but nothing happens, by the way the "truncate" function cuts the words but it doesn't show the "tooltip" either

thyseus commented 2 years ago

Does the column you want to summarize only contain numerical values ? Please try re-run npm run dev to re-bundle all assets.

alexandergziresis commented 2 years ago

Yes, it is only numeric values, i run npm run dev but same thing.

3rgo commented 2 years ago

@alexandergziresis Did you publish the assets from a previous release ? If so, you have to remove them, then re-publish. It happened to me when I tried it today. I had to review manually all diffs since I did a lot of front-end customizations

alexandergziresis commented 2 years ago

Thanks!, the problem was the versión of tailwind, now works!!