|
|
@ -24,8 +24,10 @@ $.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings )
|
|
|
|
"iLength": oSettings._iDisplayLength,
|
|
|
|
"iLength": oSettings._iDisplayLength,
|
|
|
|
"iTotal": oSettings.fnRecordsTotal(),
|
|
|
|
"iTotal": oSettings.fnRecordsTotal(),
|
|
|
|
"iFilteredTotal": oSettings.fnRecordsDisplay(),
|
|
|
|
"iFilteredTotal": oSettings.fnRecordsDisplay(),
|
|
|
|
"iPage": Math.ceil( oSettings._iDisplayStart / oSettings._iDisplayLength ),
|
|
|
|
"iPage": oSettings._iDisplayLength === -1 ?
|
|
|
|
"iTotalPages": Math.ceil( oSettings.fnRecordsDisplay() / oSettings._iDisplayLength )
|
|
|
|
0 : Math.ceil( oSettings._iDisplayStart / oSettings._iDisplayLength ),
|
|
|
|
|
|
|
|
"iTotalPages": oSettings._iDisplayLength === -1 ?
|
|
|
|
|
|
|
|
0 : Math.ceil( oSettings.fnRecordsDisplay() / oSettings._iDisplayLength )
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|