Is there available column summary option? #343
Replies: 7 comments 1 reply
-
What would the HTML you would expect look like? Or maybe there are examples of other tables out there that do this? |
Beta Was this translation helpful? Give feedback.
-
Hi, https://qawall.in/wp-content/uploads/2022/04/sum-of-datatable-column-2-1160x551.png This is what i am expecting.. |
Beta Was this translation helpful? Give feedback.
-
right, where is that from? I need to see the HTML structure. |
Beta Was this translation helpful? Give feedback.
-
The image took from online for just reference. https://codepen.io/RedJokingInn/pen/PbrqWa https://datatables.net/examples/advanced_init/footer_callback.html Note: Initally sum all column values & while filter, sum the values which are filtered. |
Beta Was this translation helpful? Give feedback.
-
Yes, I think it should be possible by using the renderTable method. But I haven't had the time to try it out. Please go ahead if you want to try. |
Beta Was this translation helpful? Give feedback.
-
I am also busy with some other things. I will update it, if i work on it. |
Beta Was this translation helpful? Give feedback.
-
Thanks to @SandroHc in version 9.0.0, there is now an option to add a table footer. See https://fiduswriter.github.io/simple-datatables/demos/24-footer/ |
Beta Was this translation helpful? Give feedback.
-
Hi,
Is there option available sum column values at the footer?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions