More info on grouping row

More info on grouping row

crush123crush123 Posts: 417Questions: 126Answers: 18
edited October 2011 in General
Using the example, and working through a couple of other posts, I wanted to show more information on the grouping row, other than the group itself.

I have cobbled together an untidy solution with the little knowledge i have, (apologies in advance)

[code]
$(document).ready(function() {
oTable = $('#example').dataTable({
"fnDrawCallback": function ( oSettings ) {
if ( oSettings.aiDisplay.length == 0 )
{
return;
}

var nTrs = $('#example tbody tr');
var iColspan = nTrs[0].getElementsByTagName('td').length;
var sLastGroup = "";
for ( var i=0 ; i
This discussion has been closed.