Package com.smartgwt.client.widgets.grid.events

# Interface HasBodyKeyPressHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `CalendarView`, `CubeGrid`, `DateGrid`, `EditTree`, `ListGrid`, `ListPalette`, `Menu`, `MenuPalette`, `PickListMenu`, `RecordEditor`, `SelectionTreeMenu`, `TableView`, `TreeGrid`, `TreePalette`

public interface HasBodyKeyPressHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addBodyKeyPressHandler(BodyKeyPressHandler handler)`
  Handle a keyPress event on the body.

  ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

  `fireEvent`

- ## Method Details

  - ### addBodyKeyPressHandler

    HandlerRegistration addBodyKeyPressHandler(BodyKeyPressHandler handler)
    Handle a keyPress event on the body.

    Default implementation handles navigating between records with arrow keys, and activating records with space and enter.

    Parameters:
      `handler` - the bodyKeyPress handler
    Returns:
      `HandlerRegistration` used to remove this handler