src/sap.ui.table/src/sap/ui/table/TableUtils.js
function(oTable, oElement, bIncludePseudoCells) {
			bIncludePseudoCells = bIncludePseudoCells === true;

			if (!oTable || !oElement) {
				return null;
			}

			var $Element = jQuery(oElement);
			var oTableElement = oTable.getDomRef();
			var sSelector = ".sapUiTableCell";

			if (!bIncludePseudoCells) {
				sSelector += ":not(.sapUiTablePseudoCell)";
			}

			var $Cell = $Element.closest(sSelector, oTableElement);

			if ($Cell.length > 0) {
				return $Cell;
			}

			return null;
		}
function(oTable, oElement, bIncludePseudoCells) {
			bIncludePseudoCells = bIncludePseudoCells === true;

			if (!oTable || !oElement) {
				return null;
			}

			var $Element = jQuery(oElement);
			var oTableElement = oTable.getDomRef();
			var sSelector = ".sapUiTableCell";

			if (!bIncludePseudoCells) {
				sSelector += ":not(.sapUiTablePseudoCell)";
			}

			var $Cell = $Element.closest(sSelector, oTableElement);

			if ($Cell.length > 0) {
				return $Cell;
			}

			return null;
		}
function ( oTable , oElement , bIncludePseudoCells ) { bIncludePseudoCells = bIncludePseudoCells === true ; if ( ! oTable || ! oElement ) { return null ; } var $Element = jQuery ( oElement ) ; var oTableElement = oTable . getDomRef ( ) ; var sSelector = ".sapUiTableCell" ; if ( ! bIncludePseudoCells ) { sSelector += ":not(.sapUiTablePseudoCell)" ; } var $Cell = $Element . closest ( sSelector , oTableElement ) ; if ( $Cell . length > 0 ) { return $Cell ; } return null ; }
Returns the table cell which is either the parent of an element, or returns the element if it is a table cell itself.

@param {sap.ui.table.Table} oTable Instance of the table used as the context within which to search for the cell.
@param {jQuery | HTMLElement} oElement A table cell or an element inside a table cell.
@param {jQuery | HTMLElement} [bIncludePseudoCells=false] Whether to include pseudo cells.
@returns {jQuery | null} Returns <code>null</code>, if the element is neither a table cell nor inside a table cell.
Returns the table cell which is either the parent of an element or returns the element if it is a table cell itself .