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](https://secure.gravatar.com/avatar/b1c92f80675a5f7bf9326af494af10f3/?default=https%3A%2F%2Fvanillicon.com%2Fb1c92f80675a5f7bf9326af494af10f3_200.png&rating=g&size=120)
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.