Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

datatables keep order and page selection page refresh

$('#offersTable').dataTable({
        "bStateSave": true,
        "fnStateSave": function (oSettings, oData) {
            localStorage.setItem('offersDataTables', JSON.stringify(oData));
        },
        "fnStateLoad": function (oSettings) {
            return JSON.parse(localStorage.getItem('offersDataTables'));
        }
    });
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript days until end of month 
Javascript :: animate change background color angular 
Javascript :: js content editable 
Javascript :: Sign in with Apple JS 
Javascript :: how to run cypress test 
Javascript :: map javascript 
Javascript :: how to make an event listener only work once 
Javascript :: vue nested loop 
Javascript :: apollo client nextjs 
Javascript :: python minify json 
Javascript :: numero aleatorio javascript 
Javascript :: parseint function javascript 
Javascript :: react build size 
Javascript :: find method javascript 
Javascript :: upload file react onclick 
Javascript :: nested include sequelize 
Javascript :: python get value from json 
Javascript :: lodash round 
Javascript :: how to append in javascript 
Javascript :: Create Your Own Node Module 
Javascript :: map method js 
Javascript :: javascript functions 
Javascript :: current page number and clicked page number jqery datatables 
Javascript :: json object 
Javascript :: express-session install 
Javascript :: js number round to each 15 
Javascript :: move last element of array to beginning javascript 
Javascript :: run file with nodemon 
Javascript :: react-native-safe-area-context 
Javascript :: search object array javascript 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =