src/sap.ui.table/src/sap/ui/table/TableUtils.js
function(oTable, sIdSuffix, fnHandler, bRegisterParent) {
			var oDomRef;
			if (typeof sIdSuffix == "string") {
				oDomRef = oTable.getDomRef(sIdSuffix);
			} else {
				Log.error("sIdSuffix must be a string", oTable);
				return undefined;
			}

			if (typeof fnHandler !== "function") {
				Log.error("fnHandler must be a function", oTable);
				return undefined;
			}

			// make sure that each DOM element of the table can only have one resize handler in order to avoid memory leaks
			TableUtils.deregisterResizeHandler(oTable, sIdSuffix);

			if (!oTable._mResizeHandlerIds) {
				oTable._mResizeHandlerIds = {};
			}

			if (bRegisterParent && oDomRef) {
				oDomRef = oDomRef.parentNode;
			}

			if (oDomRef) {
				oTable._mResizeHandlerIds[sIdSuffix] = ResizeHandler.register(oDomRef, fnHandler);
			}

			return oTable._mResizeHandlerIds[sIdSuffix];
		}
function(oTable, sIdSuffix, fnHandler, bRegisterParent) {
			var oDomRef;
			if (typeof sIdSuffix == "string") {
				oDomRef = oTable.getDomRef(sIdSuffix);
			} else {
				Log.error("sIdSuffix must be a string", oTable);
				return undefined;
			}

			if (typeof fnHandler !== "function") {
				Log.error("fnHandler must be a function", oTable);
				return undefined;
			}

			// make sure that each DOM element of the table can only have one resize handler in order to avoid memory leaks
			TableUtils.deregisterResizeHandler(oTable, sIdSuffix);

			if (!oTable._mResizeHandlerIds) {
				oTable._mResizeHandlerIds = {};
			}

			if (bRegisterParent && oDomRef) {
				oDomRef = oDomRef.parentNode;
			}

			if (oDomRef) {
				oTable._mResizeHandlerIds[sIdSuffix] = ResizeHandler.register(oDomRef, fnHandler);
			}

			return oTable._mResizeHandlerIds[sIdSuffix];
		}
function ( oTable , sIdSuffix , fnHandler , bRegisterParent ) { var oDomRef ; if ( typeof sIdSuffix == "string" ) { oDomRef = oTable . getDomRef ( sIdSuffix ) ; } else { Log . error ( "sIdSuffix must be a string" , oTable ) ; return undefined ; } if ( typeof fnHandler !== "function" ) { Log . error ( "fnHandler must be a function" , oTable ) ; return undefined ; } // make sure that each DOM element of the table can only have one resize handler in order to avoid memory leaks TableUtils . deregisterResizeHandler ( oTable , sIdSuffix ) ; if ( ! oTable . _mResizeHandlerIds ) { oTable . _mResizeHandlerIds = { } ; } if ( bRegisterParent && oDomRef ) { oDomRef = oDomRef . parentNode ; } if ( oDomRef ) { oTable . _mResizeHandlerIds [ sIdSuffix ] = ResizeHandler . register ( oDomRef , fnHandler ) ; } return oTable . _mResizeHandlerIds [ sIdSuffix ] ; }
Registers a ResizeHandler for a DOM reference identified by its ID suffix. The ResizeHandler ID is tracked
in _mResizeHandlerIds of the table instance. The sIdSuffix is used as key.
Existing ResizeHandlers will be de-registered before the new one is registered.

@param {sap.ui.table.Table} oTable Instance of the table.
@param {string} sIdSuffix ID suffix to identify the DOM element for which to register the ResizeHandler.
@param {Function} fnHandler Function to handle the resize event.
@param {boolean}[bRegisterParent] Flag to register the ResizeHandler for the parent DOM element of the one identified by sIdSuffix.
@returns {int | undefined} ResizeHandler ID or undefined if the DOM element could not be found.
Registers a ResizeHandler for a DOM reference identified by its ID suffix . The ResizeHandler ID is tracked in _mResizeHandlerIds of the table instance . The sIdSuffix is used as key . Existing ResizeHandlers will be de - registered before the new one is registered .