src/sap.ui.table/src/sap/ui/table/TableScrollExtension.js
function(oTable) {
			var oScrollExtension = oTable._getScrollExtension();
			var aScrollAreas = VerticalScrollingHelper.getScrollAreas(oTable);
			var oVSb = oScrollExtension.getVerticalScrollbar();

			if (!oScrollExtension._onVerticalScrollEventHandler) {
				oScrollExtension._onVerticalScrollEventHandler = VerticalScrollingHelper.onScroll.bind(oTable);
			}

			for (var i = 0; i < aScrollAreas.length; i++) {
				aScrollAreas[i].addEventListener("scroll", oScrollExtension._onVerticalScrollEventHandler);
			}

			if (oVSb) {
				if (!oScrollExtension._onVerticalScrollbarMouseDownEventHandler) {
					oScrollExtension._onVerticalScrollbarMouseDownEventHandler = VerticalScrollingHelper.onScrollbarMouseDown.bind(oTable);
				}
				oVSb.addEventListener("mousedown", oScrollExtension._onVerticalScrollbarMouseDownEventHandler);
			}

			oTable.attachEvent("_rowsUpdated", VerticalScrollingHelper.onRowsUpdated);
		}
function(oTable) {
			var oScrollExtension = oTable._getScrollExtension();
			var aScrollAreas = VerticalScrollingHelper.getScrollAreas(oTable);
			var oVSb = oScrollExtension.getVerticalScrollbar();

			if (!oScrollExtension._onVerticalScrollEventHandler) {
				oScrollExtension._onVerticalScrollEventHandler = VerticalScrollingHelper.onScroll.bind(oTable);
			}

			for (var i = 0; i < aScrollAreas.length; i++) {
				aScrollAreas[i].addEventListener("scroll", oScrollExtension._onVerticalScrollEventHandler);
			}

			if (oVSb) {
				if (!oScrollExtension._onVerticalScrollbarMouseDownEventHandler) {
					oScrollExtension._onVerticalScrollbarMouseDownEventHandler = VerticalScrollingHelper.onScrollbarMouseDown.bind(oTable);
				}
				oVSb.addEventListener("mousedown", oScrollExtension._onVerticalScrollbarMouseDownEventHandler);
			}

			oTable.attachEvent("_rowsUpdated", VerticalScrollingHelper.onRowsUpdated);
		}
function ( oTable ) { var oScrollExtension = oTable . _getScrollExtension ( ) ; var aScrollAreas = VerticalScrollingHelper . getScrollAreas ( oTable ) ; var oVSb = oScrollExtension . getVerticalScrollbar ( ) ; if ( ! oScrollExtension . _onVerticalScrollEventHandler ) { oScrollExtension . _onVerticalScrollEventHandler = VerticalScrollingHelper . onScroll . bind ( oTable ) ; } for ( var i = 0 ; i < aScrollAreas . length ; i ++ ) { aScrollAreas [ i ] . addEventListener ( "scroll" , oScrollExtension . _onVerticalScrollEventHandler ) ; } if ( oVSb ) { if ( ! oScrollExtension . _onVerticalScrollbarMouseDownEventHandler ) { oScrollExtension . _onVerticalScrollbarMouseDownEventHandler = VerticalScrollingHelper . onScrollbarMouseDown . bind ( oTable ) ; } oVSb . addEventListener ( "mousedown" , oScrollExtension . _onVerticalScrollbarMouseDownEventHandler ) ; } oTable . attachEvent ( "_rowsUpdated" , VerticalScrollingHelper . onRowsUpdated ) ; }
Adds the event listeners which are required for the vertical scrolling.

@param {sap.ui.table.Table} oTable Instance of the table.
Adds the event listeners which are required for the vertical scrolling .