com.smartgwt.client.widgets.grid.events

## Interface HasBodyKeyPressHandlers

- All Superinterfaces:
    HasHandlers
  All Known Implementing Classes:
    CalendarView, CubeGrid, DateGrid, EditTree, ListGrid, ListPalette, Menu, MenuPalette, RecordEditor, SelectionTreeMenu, TableView, TreeGrid, TreePalette

      public interface HasBodyKeyPressHandlers
      extends HasHandlers

- - ### Method Summary

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

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

      `fireEvent`

- - ### Method Detail

    - #### 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