Use th instead of td. Like what is used on this example: https://datatables.net/examples/advanced_init/footer_callback.html
Use th instead of td.
Like what is used on this example: https://datatables.net/examples/advanced_init/footer_callback.html

yajra/laravel-datatables