show comparison in another columns
show comparison in another columns
Link to test case: http://live.datatables.net/hicegewa/1/edit
Description of problem: I currently have two tables and each table was like:
table1:
table2: 
Can I merge them to a table like:

by grouping them with index and compute weight loss with Datatables?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The
diffcolumn would requirerowspanto be used which isn't supported, by Datatables, in thetbody. One option might be to use the RowGroup extension. You can group by the index column then output the difference in the row added by RowGroup. For example:http://live.datatables.net/hicegewa/2/edit
There are some comments in the example. See this example for
rowGroup.endRenderfor more details.Kevin