Fix double redraw of all the rows when bStandingRedraw = true

If the row draw callback is expensive this double redraw of all rows is awfull.
pull/4/head
DukeAstar 13 years ago
parent 7559395ec7
commit 1b1c0518f4

@ -44,13 +44,14 @@ $.fn.dataTableExt.oApi.fnReloadAjax = function ( oSettings, sNewSource, fnCallba
}
oSettings.aiDisplay = oSettings.aiDisplayMaster.slice();
that.fnDraw();
if ( typeof bStandingRedraw != 'undefined' && bStandingRedraw === true )
{
oSettings._iDisplayStart = iStart;
that.fnDraw( false );
}
else
that.fnDraw();
that.oApi._fnProcessingDisplay( oSettings, false );

Loading…
Cancel
Save