src/sap.ui.table/src/sap/ui/table/TableColumnUtils.js
function(oTable, sColumnId, iLevel) {
			var oColumnMapItem = TableColumnUtils.getColumnMapItem(oTable, sColumnId);
			if (!oColumnMapItem) {
				return undefined;
			}

			var aParents = [];
			for (var i = 0; i < oColumnMapItem.parents.length; i++) {
				var oParent = oColumnMapItem.parents[i];
				if (iLevel === undefined || oParent.level === iLevel) {
					aParents.push(oParent);
				}
			}

			return aParents;
		}
function(oTable, sColumnId, iLevel) {
			var oColumnMapItem = TableColumnUtils.getColumnMapItem(oTable, sColumnId);
			if (!oColumnMapItem) {
				return undefined;
			}

			var aParents = [];
			for (var i = 0; i < oColumnMapItem.parents.length; i++) {
				var oParent = oColumnMapItem.parents[i];
				if (iLevel === undefined || oParent.level === iLevel) {
					aParents.push(oParent);
				}
			}

			return aParents;
		}
function ( oTable , sColumnId , iLevel ) { var oColumnMapItem = TableColumnUtils . getColumnMapItem ( oTable , sColumnId ) ; if ( ! oColumnMapItem ) { return undefined ; } var aParents = [ ] ; for ( var i = 0 ; i < oColumnMapItem . parents . length ; i ++ ) { var oParent = oColumnMapItem . parents [ i ] ; if ( iLevel === undefined || oParent . level === iLevel ) { aParents . push ( oParent ) ; } } return aParents ; }
Returns an array of the column information about all columns which span the column identified by sColumnId.
If there is no "parent", it returns undefined.

@param {sap.ui.table.Table} oTable Instance of the table.
@param {string} sColumnId ID of the column for which the Span-parent shall be found.
@param {int} [iLevel] Level where the parent is looked up.
@returns {Array.<{column: sap.ui.table.Column, level: int}>|undefined} Array of column information.
Returns an array of the column information about all columns which span the column identified by sColumnId . If there is no parent it returns undefined .