src/sap.ui.table/src/sap/ui/table/TableScrollExtension.js
function(oTable) {
			if (!oTable || !oTable._aRowHeights) {
				return 0;
			}

			var aRowHeights = oTable._aRowHeights;
			var iEstimatedViewportHeight = oTable._getDefaultRowHeight() * oTable.getVisibleRowCount();

			// Only sum rows filled with data, ignore empty rows.
			if (oTable.getVisibleRowCount() >= oTable._getTotalRowCount()) {
				aRowHeights = aRowHeights.slice(0, oTable._getTotalRowCount());
			}

			var iInnerVerticalScrollRange = aRowHeights.reduce(function(a, b) { return a + b; }, 0) - iEstimatedViewportHeight;
			if (iInnerVerticalScrollRange > 0) {
				iInnerVerticalScrollRange = Math.ceil(iInnerVerticalScrollRange);
			}

			return Math.max(0, iInnerVerticalScrollRange);
		}
function(oTable) {
			if (!oTable || !oTable._aRowHeights) {
				return 0;
			}

			var aRowHeights = oTable._aRowHeights;
			var iEstimatedViewportHeight = oTable._getDefaultRowHeight() * oTable.getVisibleRowCount();

			// Only sum rows filled with data, ignore empty rows.
			if (oTable.getVisibleRowCount() >= oTable._getTotalRowCount()) {
				aRowHeights = aRowHeights.slice(0, oTable._getTotalRowCount());
			}

			var iInnerVerticalScrollRange = aRowHeights.reduce(function(a, b) { return a + b; }, 0) - iEstimatedViewportHeight;
			if (iInnerVerticalScrollRange > 0) {
				iInnerVerticalScrollRange = Math.ceil(iInnerVerticalScrollRange);
			}

			return Math.max(0, iInnerVerticalScrollRange);
		}
function ( oTable ) { if ( ! oTable || ! oTable . _aRowHeights ) { return 0 ; } var aRowHeights = oTable . _aRowHeights ; var iEstimatedViewportHeight = oTable . _getDefaultRowHeight ( ) * oTable . getVisibleRowCount ( ) ; // Only sum rows filled with data, ignore empty rows. if ( oTable . getVisibleRowCount ( ) >= oTable . _getTotalRowCount ( ) ) { aRowHeights = aRowHeights . slice ( 0 , oTable . _getTotalRowCount ( ) ) ; } var iInnerVerticalScrollRange = aRowHeights . reduce ( function ( a , b ) { return a + b ; } , 0 ) - iEstimatedViewportHeight ; if ( iInnerVerticalScrollRange > 0 ) { iInnerVerticalScrollRange = Math . ceil ( iInnerVerticalScrollRange ) ; } return Math . max ( 0 , iInnerVerticalScrollRange ) ; }
Gets the inner vertical scroll range. This is the amount of pixels that the rows overflow their container.

@param {sap.ui.table.Table} oTable Instance of the table.
@returns {int} The inner vertical scroll range.
Gets the inner vertical scroll range . This is the amount of pixels that the rows overflow their container .