Cannot reinitialise DataTable
Cannot reinitialise DataTable
Hi All,
When I use theese codes, The browser say : DataTables warning (table id='example'): cannot reinitialise DataTable..
How can I use both theese functions.
[code]
///////////// Footer Callback Func.
$(document).ready(function() {
$('#example').dataTable( {
"fnFooterCallback": function ( nRow, aaData, iStart, iEnd, aiDisplay ) {
/*
* Calculate the total market share for all browsers in this table (ie inc. outside
* the pagination)
*/
var iTotalMarket = 0;
for ( var i=0 ; i
When I use theese codes, The browser say : DataTables warning (table id='example'): cannot reinitialise DataTable..
How can I use both theese functions.
[code]
///////////// Footer Callback Func.
$(document).ready(function() {
$('#example').dataTable( {
"fnFooterCallback": function ( nRow, aaData, iStart, iEnd, aiDisplay ) {
/*
* Calculate the total market share for all browsers in this table (ie inc. outside
* the pagination)
*/
var iTotalMarket = 0;
for ( var i=0 ; i
This discussion has been closed.