Ajax data piplining and fnDeleteRow clashes
Ajax data piplining and fnDeleteRow clashes
Hi i am using pipelining for ajax data from this link http://www.datatables.net/release-datatables/examples/server_side/pipeline.html. It works great except when i try to delete a row using fnDeleteRow(row), row is not removed from datatable. my code is something like this
if(rowDeletedFromServer()){
var row = $(e.target.parentElement).closest("tr").get(0);
oTable.fnDeleteRow(oTable.fnGetPosition(row),null,true);
}
fnDeleteRow works fine if i remove pipelining from fnServerData(). Need some help to figure out whats going wrong.
if(rowDeletedFromServer()){
var row = $(e.target.parentElement).closest("tr").get(0);
oTable.fnDeleteRow(oTable.fnGetPosition(row),null,true);
}
fnDeleteRow works fine if i remove pipelining from fnServerData(). Need some help to figure out whats going wrong.
This discussion has been closed.