fnDrawCallback called again and again
fnDrawCallback called again and again
I am trying to reload the page instead of redrawing the table due to some issues.
[code]"fnDrawCallback": function( oSettings ) {
location.reload();
}[/code]
But the above code leads to infinite page reload. How can I prevent a redraw and use page load everytime?
[code]"fnDrawCallback": function( oSettings ) {
location.reload();
}[/code]
But the above code leads to infinite page reload. How can I prevent a redraw and use page load everytime?
This discussion has been closed.
Replies
I don't really understand the intention here I'm afraid. You want to reload the whole page on each sort, filter etc? Do you have some logic that will display the table in the correct order, filtered etc? If so, why the need for DataTables?
Allan