This page covers a next version of Handsontable, and is not published yet.

This page covers a non-latest version of Handsontable.

# Handsontable cell type

# Overview

This page describes how to use Handsontable as a cell editor in Handsontable.

# Usage

HOT-in-HOT opens by any of the following:

  • F2 or ENTER key is pressed while the cell is selected
  • The triangle icon is clicked
  • The cell content is double clicked

While HOT-in-HOT is opened, the text field above the HOT-in-HOT remains focused at all times.

Keyboard bindings while the HOT-in-HOT is opened:

  • ESC - close editor and cancel change.
  • ENTER - close editor and apply change*, move the selection in the main HOT downwards or according to the enterMoves setting.
  • TAB - behaves as the ENTER key, but move the selection in the main HOT to the right or according to the tabMoves setting.
  • ARROW DOWN - move the selection in HOT-in-HOT downwards. If the last row was selected, this has no effect.
  • ARROW UP - move the selection in HOT-in-HOT upwards. If the first row was selected, deselect. If HOT-in-HOT was deselected, behave as the ENTER key but move the selection in the main HOT upwards.
  • ARROW RIGTH - move the text cursor in the text field to the left. If the text cursor was at the start position, behave as the ENTER key but move the selection in the main HOT to the left.
  • ARROW LEFT - move the text cursor in the text field to the right. If the text cursor was at the end position, behave as the TAB key.

# Basic example