function focusCell(oTable, iCellType, iRowIndex, iColumnIndex, bFirstInteractiveElement, bAllowActionMode) {
		if (!oTable
			|| iCellType == null
			|| iRowIndex == null || iRowIndex < 0 || iRowIndex >= oTable.getRows().length) {
			return;
		}

		var oRow = oTable.getRows()[iRowIndex];
		var oCell;

		if (iCellType === CellType.ROWHEADER) {
			oTable._getKeyboardExtension().setFocus(oTable.getDomRef("rowsel" + iRowIndex));
			return;
		} else if (iCellType === CellType.ROWACTION) {
			oCell = oTable.getDomRef("rowact" + iRowIndex);
		} else if (iCellType === CellType.DATACELL
				   && (iColumnIndex != null && iColumnIndex >= 0)) {
			var oColumn = oTable.getColumns()[iColumnIndex];
			var iColumnIndexInCellsAggregation = getColumnIndexInVisibleAndGroupedColumns(oTable, oColumn);
			if (iColumnIndexInCellsAggregation >= 0) {
				oCell = oRow.getDomRef("col" + iColumnIndexInCellsAggregation);
			}
		}

		if (!oCell) {
			return;
		}

		if (bFirstInteractiveElement) {
			var $InteractiveElements = TableUtils.getInteractiveElements(oCell);

			if ($InteractiveElements) {
				KeyboardDelegate._focusElement(oTable, $InteractiveElements[0]);
				return;
			}
		}

		if (bAllowActionMode) {
			oTable._getKeyboardExtension()._bStayInActionMode = true;
		}

		oCell.focus();
	}
/**
	 * Focus a content cell or the first interactive element inside a content cell.
	 * If there are no interactive elements, the cell is focused instead.
	 *
	 * @param {sap.ui.table.Table} oTable Instance of the table.
	 * @param {sap.ui.table.utils.TableUtils.CellType} iCellType The type of the cell.
	 * @param {int} iRowIndex Index of the row in the rows aggregation.
	 * @param {int} [iColumnIndex] Index of the column in the columns aggregation. Only required for data cells.
	 * @param {boolean} [bFirstInteractiveElement=false] If <code>true</code>, the first interactive element in a cell is focused.
	 * @param {boolean} [bAllowActionMode=false] Whether to stay in action mode even if a non-interactive element is focused.
	 */
Focus a content cell or the first interactive element inside a content cell.
If there are no interactive elements, the cell is focused instead.

@param {sap.ui.table.Table} oTable Instance of the table.
Focus a content cell or the first interactive element inside a content cell . If there are no interactive elements the cell is focused instead . @param { sap . ui . table . Table } oTable Instance of the table .
function focusCell(oTable, iCellType, iRowIndex, iColumnIndex, bFirstInteractiveElement, bAllowActionMode) {
		if (!oTable
			|| iCellType == null
			|| iRowIndex == null || iRowIndex < 0 || iRowIndex >= oTable.getRows().length) {
			return;
		}
		var oRow = oTable.getRows()[iRowIndex];
		var oCell;
		if (iCellType === CellType.ROWHEADER) {
			oTable._getKeyboardExtension().setFocus(oTable.getDomRef("rowsel" + iRowIndex));
			return;
		} else if (iCellType === CellType.ROWACTION) {
			oCell = oTable.getDomRef("rowact" + iRowIndex);
		} else if (iCellType === CellType.DATACELL
				   && (iColumnIndex != null && iColumnIndex >= 0)) {
			var oColumn = oTable.getColumns()[iColumnIndex];
			var iColumnIndexInCellsAggregation = getColumnIndexInVisibleAndGroupedColumns(oTable, oColumn);
			if (iColumnIndexInCellsAggregation >= 0) {
				oCell = oRow.getDomRef("col" + iColumnIndexInCellsAggregation);
			}
		}
		if (!oCell) {
			return;
		}
		if (bFirstInteractiveElement) {
			var $InteractiveElements = TableUtils.getInteractiveElements(oCell);
			if ($InteractiveElements) {
				KeyboardDelegate._focusElement(oTable, $InteractiveElements[0]);
				return;
			}
		}
		if (bAllowActionMode) {
			oTable._getKeyboardExtension()._bStayInActionMode = true;
		}
		oCell.focus();
	}
function focusCell ( oTable , iCellType , iRowIndex , iColumnIndex , bFirstInteractiveElement , bAllowActionMode ) { if ( ! oTable || iCellType == null || iRowIndex == null || iRowIndex < 0 || iRowIndex >= oTable . getRows ( ) . length ) { return ; } var oRow = oTable . getRows ( ) [ iRowIndex ] ; var oCell ; if ( iCellType === CellType . ROWHEADER ) { oTable . _getKeyboardExtension ( ) . setFocus ( oTable . getDomRef ( "rowsel" + iRowIndex ) ) ; return ; } else if ( iCellType === CellType . ROWACTION ) { oCell = oTable . getDomRef ( "rowact" + iRowIndex ) ; } else if ( iCellType === CellType . DATACELL && ( iColumnIndex != null && iColumnIndex >= 0 ) ) { var oColumn = oTable . getColumns ( ) [ iColumnIndex ] ; var iColumnIndexInCellsAggregation = getColumnIndexInVisibleAndGroupedColumns ( oTable , oColumn ) ; if ( iColumnIndexInCellsAggregation >= 0 ) { oCell = oRow . getDomRef ( "col" + iColumnIndexInCellsAggregation ) ; } } if ( ! oCell ) { return ; } if ( bFirstInteractiveElement ) { var $InteractiveElements = TableUtils . getInteractiveElements ( oCell ) ; if ( $InteractiveElements ) { KeyboardDelegate . _focusElement ( oTable , $InteractiveElements [ 0 ] ) ; return ; } } if ( bAllowActionMode ) { oTable . _getKeyboardExtension ( ) . _bStayInActionMode = true ; } oCell . focus ( ) ; }
Focus a content cell or the first interactive element inside a content cell.
Focus a content cell or the first interactive element inside a content cell .