Jquery datatable jeditable, editing a field resets pagination
Jquery datatable jeditable, editing a field resets pagination
'm using jquery datatables with the jeditable plugin. These are the options of my datatable
[code]
options = {
"bServerSide" : true,
"sAjaxSource" : "/javaServlet",
"bProcessing" : true,
"sPaginationType" : "full_numbers",
"bJQueryUI" : true
};
[/code]
and My jeditable column options
[code]
options = {
placeholder : '',
fnOnCellUpdated : function(sStatus, sValue,
settings) {
recordUpdated();
}
};
[/code]
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
[code]
options = {
"bServerSide" : true,
"sAjaxSource" : "/javaServlet",
"bProcessing" : true,
"sPaginationType" : "full_numbers",
"bJQueryUI" : true
};
[/code]
and My jeditable column options
[code]
options = {
placeholder : '',
fnOnCellUpdated : function(sStatus, sValue,
settings) {
recordUpdated();
}
};
[/code]
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
This discussion has been closed.