Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81688

Jquery datatable jeditable, editing a field resets pagination

$
0
0
'm using jquery datatables with the jeditable plugin. These are the options of my datatable

options = {
        "bServerSide" : true,
        "sAjaxSource" : "/javaServlet",
        "bProcessing" : true,
        "sPaginationType" : "full_numbers",
        "bJQueryUI" : true
    };  

and My jeditable column options

    options = {
        placeholder : '',
        fnOnCellUpdated : function(sStatus, sValue,
                settings) {
            recordUpdated();
        }
};
The problem is when i edit a value in the 4th page for example, the datatable updates and reloads and sends me back to the first page.

When checking the network, "javaServlet" is being called again after the update is done

How can I fix this?

Thank you

Viewing all articles
Browse latest Browse all 81688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>