function getInteractiveElementsInHeader(oTable) {
		const aElements = [];
		const $Table = oTable.$();

		function getSelector(iRowIndex) {
			return `.sapUiTableHeaderRow:nth-of-type(${iRowIndex + 1}) .sapUiTableCell ${TableUtils.INTERACTIVE_ELEMENT_SELECTOR}`;
		}

		if (TableUtils.hasSelectAll(oTable)) {
			aElements.push(oTable.getDomRef("selall"));
		}

		for (let i = 0; i < TableUtils.getHeaderRowCount(oTable); i++) {
			aElements.push(...$Table.find(getSelector(i)));
		}

		return aElements;
	}
Returns all interactive elements in the header.

@param {sap.ui.table.Table} oTable Instance of the table
@returns {HTMLElement[]} The interactive elements