kdion4891 / laravel-livewire-tables

A dynamic, responsive Laravel Livewire table component with searching, sorting, checkboxes, and pagination.
302 stars 41 forks source link

Remove Inline Styles and add tr, th, td public properties #19

Open Kev-Jaques opened 4 years ago

Kev-Jaques commented 4 years ago

Hi,

This is an excellent table replacement for dataTables, however adding inline styles is not great, for example the click span has same inline style just to add a cursor when this can be done via CSS.

For consistency across this package it would be good to have:- Public property class defaults for tbody, tr, th, td elements whereas table and thead have.

Expected simple table so styles can be added at the CSS level rather than have to remove them and/or then add in needed styles.

Thanks

Kev

kejojedi commented 4 years ago

submit a pr with proposed changes