Closed lookitsjonno closed 2 years ago
You can modify the default options to load into DataTables like that (this is my config with bootstrap 4) :
# config/packages/datatables.yaml
datatables:
options:
dom: "<'row' <'col-md-6' B><'col-md-6 ml-md-auto' f>><'row' <'col-md-12 overflow-auto' tr>><'row' <'col-md-6'i><'col-md-6 text-right'p>>"
All option is documented here : https://datatables.net/reference/option/dom
I'm not sure @maxhelias comment answers your question, but you can still use native datatables features. In this case footerCallback.
https://datatables.net/examples/advanced_init/footer_callback.html
Oups I misunderstood 😅 Thanks
I would like to add a footer row showing the sum of some columns (for all pages)
Thanks