I have a solution for you
I use a row grouping of DataTable : http://datatables.net/release-datatables/extras/FixedColumns/row_grouping.html
I just add a function "function foo(arr){" to add a number of row.
[code]
$(document).ready(function() {
/*
* Initialse DataTables, with no sorting on the 'details' column
*/
var oTable = $('#tab_contact').dataTable( {
"fnDrawCallback": function ( oSettings ) {
if ( oSettings.aiDisplay.length == 0 )
{
return;
}
var nTrs = $('#tab_contact tbody tr');
var iColspan = nTrs[0].getElementsByTagName('td').length;
var sLastGroup = "";
/* I create a table with all group name */
var tab = new Array();
for ( var i=0 ; i
Replies
I use a row grouping of DataTable : http://datatables.net/release-datatables/extras/FixedColumns/row_grouping.html
I just add a function "function foo(arr){" to add a number of row.
[code]
$(document).ready(function() {
/*
* Initialse DataTables, with no sorting on the 'details' column
*/
var oTable = $('#tab_contact').dataTable( {
"fnDrawCallback": function ( oSettings ) {
if ( oSettings.aiDisplay.length == 0 )
{
return;
}
var nTrs = $('#tab_contact tbody tr');
var iColspan = nTrs[0].getElementsByTagName('td').length;
var sLastGroup = "";
/* I create a table with all group name */
var tab = new Array();
for ( var i=0 ; i