DataTables row grouping example with fixed Column
DataTables row grouping example with fixed Column
AlexDtTables
Posts: 6Questions: 0Answers: 0
Hi,
I have an error when I try to use row grouping (available here : http://www.datatables.net/release-datatables/examples/advanced_init/row_grouping.html) and FixedColumns plugin.
I have the following code for this example :
[code]
$(document).ready(function() {
oTable = $('#example').dataTable({
"fnDrawCallback": function ( oSettings ) {
if ( oSettings.aiDisplay.length == 0 )
{
return;
}
var nTrs = $('tbody tr', oSettings.nTable);
var iColspan = nTrs[0].getElementsByTagName('td').length;
var sLastGroup = "";
for ( var i=0 ; i if ( typeof that.s.dt.aoData[i]._anHidden[iColumn] != 'undefined' )
[/quote]
Could you help me to understand and fixed this error please?
Thanks for your help.
Regards
I have an error when I try to use row grouping (available here : http://www.datatables.net/release-datatables/examples/advanced_init/row_grouping.html) and FixedColumns plugin.
I have the following code for this example :
[code]
$(document).ready(function() {
oTable = $('#example').dataTable({
"fnDrawCallback": function ( oSettings ) {
if ( oSettings.aiDisplay.length == 0 )
{
return;
}
var nTrs = $('tbody tr', oSettings.nTable);
var iColspan = nTrs[0].getElementsByTagName('td').length;
var sLastGroup = "";
for ( var i=0 ; i if ( typeof that.s.dt.aoData[i]._anHidden[iColumn] != 'undefined' )
[/quote]
Could you help me to understand and fixed this error please?
Thanks for your help.
Regards
This discussion has been closed.
Replies
Nobody can help me please?
Thank you