function navigateUp(oTable, oEvent) {
		var oCellInfo = TableUtils.getCellInfo(TableUtils.getCell(oTable, oEvent.target));

		if (!oCellInfo.isOfType(CellType.ANYCONTENTCELL) || !_canNavigateUpOrDown(oTable, oEvent)) {
			return;
		}

		var bCtrlKeyPressed = KeyboardDelegate._isKeyCombination(oEvent, null, ModKey.CTRL);
		var oKeyboardExtension = oTable._getKeyboardExtension();
		var bActionMode = oKeyboardExtension.isInActionMode();
		var bActionModeNavigation = bCtrlKeyPressed || bActionMode;
		var $ParentCell = TableUtils.getParentCell(oTable, oEvent.target);

		// If only the up key was pressed while the table is in navigation mode, and a non-interactive element inside a cell is focused,
		// set the focus to the cell this element is inside.
		if (!bActionModeNavigation && $ParentCell) {
			$ParentCell.trigger("focus");
			return;
		}

		preventItemNavigation(oEvent);

		if (TableUtils.isFirstScrollableRow(oTable, oCellInfo.cell)) {
			var bScrolled = scrollUp(oTable, oEvent);

			if (bScrolled) {
				oEvent.preventDefault(); // Prevent scrolling the page in action mode navigation.
				return;
			}
		}

		if (oCellInfo.rowIndex === 0) {
			// Let the item navigation focus the column header cell, but not in the row action column.
			preventItemNavigation(oEvent, oCellInfo.isOfType(CellType.ROWACTION) || bActionModeNavigation);

			// Leave the action mode when trying to navigate up on the first row.
			if (!bActionMode && $ParentCell) {
				$ParentCell.trigger("focus"); // A non-interactive element inside a cell is focused, focus the cell this element is inside.
			} else {
				oKeyboardExtension.setActionMode(false);
			}

			return;
		}

		focusCell(oTable, oCellInfo.type, oCellInfo.rowIndex - 1, oCellInfo.columnIndex, bActionModeNavigation);
		oEvent.preventDefault(); // Prevent positioning the cursor in action mode navigation. The text should be selected instead.
	}
/**
	 * Moves the focus one row up, but stays in the same column. The focus is set to the cell, or the first interactive element inside that cell.
	 * The table is scrolled if necessary.
	 *
	 * @param {sap.ui.table.Table} oTable Instance of the table.
	 * @param {jQuery.Event} oEvent The keyboard event object.
	 */
Moves the focus one row up, but stays in the same column. The focus is set to the cell, or the first interactive element inside that cell.
The table is scrolled if necessary.

@param {sap.ui.table.Table} oTable Instance of the table.
@param {jQuery.Event} oEvent The keyboard event object.
Moves the focus one row up but stays in the same column . The focus is set to the cell or the first interactive element inside that cell . The table is scrolled if necessary . @param { sap . ui . table . Table } oTable Instance of the table . @param { jQuery . Event } oEvent The keyboard event object .
function navigateUp(oTable, oEvent) {
		var oCellInfo = TableUtils.getCellInfo(TableUtils.getCell(oTable, oEvent.target));
		if (!oCellInfo.isOfType(CellType.ANYCONTENTCELL) || !_canNavigateUpOrDown(oTable, oEvent)) {
			return;
		}
		var bCtrlKeyPressed = KeyboardDelegate._isKeyCombination(oEvent, null, ModKey.CTRL);
		var oKeyboardExtension = oTable._getKeyboardExtension();
		var bActionMode = oKeyboardExtension.isInActionMode();
		var bActionModeNavigation = bCtrlKeyPressed || bActionMode;
		var $ParentCell = TableUtils.getParentCell(oTable, oEvent.target);
		if (!bActionModeNavigation && $ParentCell) {
			$ParentCell.trigger("focus");
			return;
		}
		preventItemNavigation(oEvent);
		if (TableUtils.isFirstScrollableRow(oTable, oCellInfo.cell)) {
			var bScrolled = scrollUp(oTable, oEvent);
			if (bScrolled) {
				oEvent.preventDefault(); 
				return;
			}
		}
		if (oCellInfo.rowIndex === 0) {
			preventItemNavigation(oEvent, oCellInfo.isOfType(CellType.ROWACTION) || bActionModeNavigation);
			if (!bActionMode && $ParentCell) {
				$ParentCell.trigger("focus"); 
			} else {
				oKeyboardExtension.setActionMode(false);
			}
			return;
		}
		focusCell(oTable, oCellInfo.type, oCellInfo.rowIndex - 1, oCellInfo.columnIndex, bActionModeNavigation);
		oEvent.preventDefault(); 
	}
function navigateUp ( oTable , oEvent ) { var oCellInfo = TableUtils . getCellInfo ( TableUtils . getCell ( oTable , oEvent . target ) ) ; if ( ! oCellInfo . isOfType ( CellType . ANYCONTENTCELL ) || ! _canNavigateUpOrDown ( oTable , oEvent ) ) { return ; } var bCtrlKeyPressed = KeyboardDelegate . _isKeyCombination ( oEvent , null , ModKey . CTRL ) ; var oKeyboardExtension = oTable . _getKeyboardExtension ( ) ; var bActionMode = oKeyboardExtension . isInActionMode ( ) ; var bActionModeNavigation = bCtrlKeyPressed || bActionMode ; var $ParentCell = TableUtils . getParentCell ( oTable , oEvent . target ) ; if ( ! bActionModeNavigation && $ParentCell ) { $ParentCell . trigger ( "focus" ) ; return ; } preventItemNavigation ( oEvent ) ; if ( TableUtils . isFirstScrollableRow ( oTable , oCellInfo . cell ) ) { var bScrolled = scrollUp ( oTable , oEvent ) ; if ( bScrolled ) { oEvent . preventDefault ( ) ; return ; } } if ( oCellInfo . rowIndex === 0 ) { preventItemNavigation ( oEvent , oCellInfo . isOfType ( CellType . ROWACTION ) || bActionModeNavigation ) ; if ( ! bActionMode && $ParentCell ) { $ParentCell . trigger ( "focus" ) ; } else { oKeyboardExtension . setActionMode ( false ) ; } return ; } focusCell ( oTable , oCellInfo . type , oCellInfo . rowIndex - 1 , oCellInfo . columnIndex , bActionModeNavigation ) ; oEvent . preventDefault ( ) ; }
Moves the focus one row up, but stays in the same column.
Moves the focus one row up but stays in the same column .
// If only the up key was pressed while the table is in navigation mode, and a non-interactive element inside a cell is focused, // set the focus to the cell this element is inside. // Prevent scrolling the page in action mode navigation. // Let the item navigation focus the column header cell, but not in the row action column. // Leave the action mode when trying to navigate up on the first row. // A non-interactive element inside a cell is focused, focus the cell this element is inside. // Prevent positioning the cursor in action mode navigation. The text should be selected instead.