don't work fnDraw or fnStandingRedraw problem pagination datatable please help me!!
don't work fnDraw or fnStandingRedraw problem pagination datatable please help me!!
ardnaxela03
Posts: 3Questions: 0Answers: 0
Hello everybody,
I have a problem with my pagination it is resetting when I use fnDraw in fnDrawCallback, I have jquery.dataTables.min.js version 1.8.2 my variable bProcessing is true and bServerSide is true, I have sAjaxSource with my ajax path and the function fnDrawCallback is
function(){
$(oTable.fnGetNodes()).find("td [class='edit']").editable('url/update',{
'submitdata': function ( value, settings ) {
return {
'id': oTable.fnGetData( this.parentNode )[0], // get the value of first row/column. id COLUMN
'columnId': oTable.fnGetPosition( this )[2] // Column number
};
},
'callback': function( sValue, y ) {
/* Redraw the table from the new data on the server */
oTable.fnDraw(false);
},
'fnShowError': function (message, action) {
alert(message);
}
} );
}
I tried to use fnStandingRedraw also but doesn't work, please help me!!
I have a problem with my pagination it is resetting when I use fnDraw in fnDrawCallback, I have jquery.dataTables.min.js version 1.8.2 my variable bProcessing is true and bServerSide is true, I have sAjaxSource with my ajax path and the function fnDrawCallback is
function(){
$(oTable.fnGetNodes()).find("td [class='edit']").editable('url/update',{
'submitdata': function ( value, settings ) {
return {
'id': oTable.fnGetData( this.parentNode )[0], // get the value of first row/column. id COLUMN
'columnId': oTable.fnGetPosition( this )[2] // Column number
};
},
'callback': function( sValue, y ) {
/* Redraw the table from the new data on the server */
oTable.fnDraw(false);
},
'fnShowError': function (message, action) {
alert(message);
}
} );
}
I tried to use fnStandingRedraw also but doesn't work, please help me!!
This discussion has been closed.