fnFooterCallback not displaying
fnFooterCallback not displaying
benpetersen
Posts: 2Questions: 0Answers: 0
Trying to get "fnFooterCallback" to display, but whenever I call this function my web page blows up. I think part of it has to deal with setting the variables "nRow, aaData, iStart, iEnd, aiDisplay", but how/what values do we assign them. Again, sorry if this seems stupid, I haven't seen any good descriptions (including the documentation) that decribes how you get the variables assigned.
Here is all of my code, the function that keeps blowing up is commented out.
[code]
var oTable;
$(document).ready( function ()
{
var id = -6;//simulation of id
$('#form').submit( function()
{
var sData = oTable.fnGetNodes( );
alert(sData);
return false;
} )
oTable = $('#example').dataTable({
"bRetrieve" : true,
"bProcessing": true,
"bInfo": true,
"bFilter": false,
bJQueryUI: true,
"sPaginationType": "full_numbers"
//"fnFooterCallback": function( nRow, aaData, iStart, iEnd, aiDisplay )
// {
// var iPageMarket = 0;
// var iTotalMarket = 0;
// for ( var i=0 ; i
Here is all of my code, the function that keeps blowing up is commented out.
[code]
var oTable;
$(document).ready( function ()
{
var id = -6;//simulation of id
$('#form').submit( function()
{
var sData = oTable.fnGetNodes( );
alert(sData);
return false;
} )
oTable = $('#example').dataTable({
"bRetrieve" : true,
"bProcessing": true,
"bInfo": true,
"bFilter": false,
bJQueryUI: true,
"sPaginationType": "full_numbers"
//"fnFooterCallback": function( nRow, aaData, iStart, iEnd, aiDisplay )
// {
// var iPageMarket = 0;
// var iTotalMarket = 0;
// for ( var i=0 ; i
This discussion has been closed.