examples/webconsole/resources/js/jquery/jquery.dataTables.js
function _fnCalculateEnd( oSettings )
		{
			if ( oSettings.oFeatures.bPaginate === false )
			{
				oSettings._iDisplayEnd = oSettings.aiDisplay.length;
			}
			else
			{
				/* Set the end point of the display - based on how many elements there are
				 * still to display
				 */
				if ( oSettings._iDisplayStart + oSettings._iDisplayLength > oSettings.aiDisplay.length ||
					   oSettings._iDisplayLength == -1 )
				{
					oSettings._iDisplayEnd = oSettings.aiDisplay.length;
				}
				else
				{
					oSettings._iDisplayEnd = oSettings._iDisplayStart + oSettings._iDisplayLength;
				}
			}
		}
function _fnCalculateEnd( oSettings )
		{
			if ( oSettings.oFeatures.bPaginate === false )
			{
				oSettings._iDisplayEnd = oSettings.aiDisplay.length;
			}
			else
			{
				/* Set the end point of the display - based on how many elements there are
				 * still to display
				 */
				if ( oSettings._iDisplayStart + oSettings._iDisplayLength > oSettings.aiDisplay.length ||
					   oSettings._iDisplayLength == -1 )
				{
					oSettings._iDisplayEnd = oSettings.aiDisplay.length;
				}
				else
				{
					oSettings._iDisplayEnd = oSettings._iDisplayStart + oSettings._iDisplayLength;
				}
			}
		}
function _fnCalculateEnd ( oSettings ) { if ( oSettings . oFeatures . bPaginate === false ) { oSettings . _iDisplayEnd = oSettings . aiDisplay . length ; } else { /* Set the end point of the display - based on how many elements there are
				 * still to display
				 */ if ( oSettings . _iDisplayStart + oSettings . _iDisplayLength > oSettings . aiDisplay . length || oSettings . _iDisplayLength == - 1 ) { oSettings . _iDisplayEnd = oSettings . aiDisplay . length ; } else { oSettings . _iDisplayEnd = oSettings . _iDisplayStart + oSettings . _iDisplayLength ; } } }
Rcalculate the end point based on the start point
@param {object} oSettings dataTables settings object
@memberof DataTable#oApi
Rcalculate the end point based on the start point