That's is really simples:
$(document).ready( function() {
$('#example').dataTable( {
"fnInitComplete": function(oSettings, json) {
alert( 'DataTables has finished its initialisation.' );
}
} );
} )
The fnInitComplete function is called when the Datatables finishes its initialization, so if that doesn't show up, you will be able to know that the plug-in haven't started.
I know that's quite simple, but this small code has helped me to find out an another big problem.
No comments:
Post a Comment