First argument in fnFooterCallback is always null
First argument in fnFooterCallback is always null
gamaroff
Posts: 1Questions: 0Answers: 0
I am using sDom to create the table.
When fnFooterCallback is called the first param is always null (in this case nFoot):
[code]
$('#example').dataTable( {
"fnFooterCallback": function( nFoot, aData, iStart, iEnd, aiDisplay ) {
nFoot.getElementsByTagName('th')[0].innerHTML = "Starting index is "+iStart;
}
} );
[/code]
When fnFooterCallback is called the first param is always null (in this case nFoot):
[code]
$('#example').dataTable( {
"fnFooterCallback": function( nFoot, aData, iStart, iEnd, aiDisplay ) {
nFoot.getElementsByTagName('th')[0].innerHTML = "Starting index is "+iStart;
}
} );
[/code]
This discussion has been closed.