Using Column Totals with Groups (Slight issue)
Using Column Totals with Groups (Slight issue)
redwall
Posts: 11Questions: 1Answers: 0
Hi,
I am using row grouping in my table in combination with column totals.
Row Grouping - http://datatables.net/release-datatables/examples/advanced_init/row_grouping.html
Column Total - Using fnFooterCallback
I have followed all the documentation and successfully got it all to work. However as I am using groups the column totals calculate 1 column off (to the right). This must be due to groups.
I have created a working demo here of the problem
http://jsfiddle.net/c5UXe/
You can see the totals are enter one column to the right :( Is there any advice on how I shift everything 1 left to match up with the column totals. Otherwise it works perfect!!
Thanks in advance...
I am using row grouping in my table in combination with column totals.
Row Grouping - http://datatables.net/release-datatables/examples/advanced_init/row_grouping.html
Column Total - Using fnFooterCallback
I have followed all the documentation and successfully got it all to work. However as I am using groups the column totals calculate 1 column off (to the right). This must be due to groups.
I have created a working demo here of the problem
http://jsfiddle.net/c5UXe/
You can see the totals are enter one column to the right :( Is there any advice on how I shift everything 1 left to match up with the column totals. Otherwise it works perfect!!
Thanks in advance...
This discussion has been closed.