jQuery DataTables - ROWSPAN in table body TBODY
For more information, see http://www.gyrocode.com/articles/jquery-datatables-rowspan-in-table-body-tbody/
by gyrocode
HTML
<link rel="stylesheet" href="https://cdn.datatables.net/v/dt/dt-1.10.12/datatables.min.css">
<script src="https://cdn.datatables.net/v/dt/dt-1.10.12/datatables.min.js"></script>
<script src="https://cdn.rawgit.com/ashl1/datatables-rowsgroup/fbd569b8768155c7a9a62568e66a64115887d7d0/dataTables.rowsGroup.js"></script>
<h3><a href="http://www.gyrocode.com/articles/jquery-datatables-rowspan-in-table-body-tbody/">jQuery DataTables - ROWSPAN in table body TBODY</a></h3>
<a href="http://www.gyrocode.com/articles/jquery-datatables-rowspan-in-table-body-tbody/">See full article on Gyrocode.com</a>
<hr><br>
<table id="example" class="display" cellspacing="0" width="100%">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Extn.</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Extn.</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</tfoot>
</table>
JavaScript
$(document).ready(function() {
var table = $('#example').DataTable({
'ajax': 'https://gyrocode.github.io/files/jquery-datatables/arrays.json',
'rowsGroup': [2]
});
});