ajax datatable reload paging retained
// table.ajax.reload(callback, resetPaging)
table.ajax.reload(null, false)
ajax datatable reload paging retained
// table.ajax.reload(callback, resetPaging)
table.ajax.reload(null, false)
how to go back to the same page in data table after refreshing
$(document).ready(function() {
$('#example').dataTable( {
"bStateSave": true,
"fnStateSave": function (oSettings, oData) {
localStorage.setItem( 'DataTables', JSON.stringify(oData) );
},
"fnStateLoad": function (oSettings) {
return JSON.parse( localStorage.getItem('DataTables') );
}
} );
} );
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us