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 aChildren = [];
			var iEnd;
			if (iLevel === undefined) {
				iEnd = oColumnMapItem.levelInfo.length;
			} else {
				iEnd = iLevel + 1;
			}

			for (var i = iLevel || 0; i < iEnd; i++) {
				var oLevelInfo = oColumnMapItem.levelInfo[i];
				for (var j = 0; j < oLevelInfo.spannedColumns.length; j++) {
					aChildren.push({column: oLevelInfo.spannedColumns[j], level: i});
				}
			}

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

			var aChildren = [];
			var iEnd;
			if (iLevel === undefined) {
				iEnd = oColumnMapItem.levelInfo.length;
			} else {
				iEnd = iLevel + 1;
			}

			for (var i = iLevel || 0; i < iEnd; i++) {
				var oLevelInfo = oColumnMapItem.levelInfo[i];
				for (var j = 0; j < oLevelInfo.spannedColumns.length; j++) {
					aChildren.push({column: oLevelInfo.spannedColumns[j], level: i});
				}
			}

			return aChildren;
		}
function ( oTable , sColumnId , iLevel ) { var oColumnMapItem = TableColumnUtils . getColumnMapItem ( oTable , sColumnId ) ; if ( ! oColumnMapItem ) { return undefined ; } var aChildren = [ ] ; var iEnd ; if ( iLevel === undefined ) { iEnd = oColumnMapItem . levelInfo . length ; } else { iEnd = iLevel + 1 ; } for ( var i = iLevel || 0 ; i < iEnd ; i ++ ) { var oLevelInfo = oColumnMapItem . levelInfo [ i ] ; for ( var j = 0 ; j < oLevelInfo . spannedColumns . length ; j ++ ) { aChildren . push ( { column : oLevelInfo . spannedColumns [ j ] , level : i } ) ; } } return aChildren ; }
Returns an array of the column information about all columns which are spanned by 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.
@private
Returns an array of the column information about all columns which are spanned by the column identified by sColumnId . If there is no parent it returns undefined .