com.smartgwt.client.widgets.grid.events

## Interface HasCellHoverHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    CalendarView, CubeGrid, DateGrid, EditTree, ListGrid, ListPalette, Menu, MenuPalette, PickListMenu, RecordEditor, SelectionTreeMenu, TableView, TreeGrid, TreePalette

      public interface HasCellHoverHandlers
      extends com.google.gwt.event.shared.HasHandlers

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.HandlerRegistration` | `addCellHoverHandler(CellHoverHandler handler)` Called when the mouse hovers over a cell if `this.canHover` is `true`.

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

      `fireEvent`

- - ### Method Detail

    - #### addCellHoverHandler

          com.google.gwt.event.shared.HandlerRegistration addCellHoverHandler(CellHoverHandler handler)

      Called when the mouse hovers over a cell if `this.canHover` is `true`. To suppress the hover text from being shown if `showHover` is `true` for `this` or the field, cancel the `CellHoverEvent`. For example:

          grid.addCellHoverHandler(new CellHoverHandler() {
               @Override
               public void onCellHover(CellHoverEvent event) {
                   if (/* some condition for when to suppress the hover */) {
                       event.cancel();
                   }
               }
           });

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