com.smartgwt.client.widgets.grid.events

## Interface CellHoverHandler

- All Superinterfaces:
    com.google.gwt.event.shared.EventHandler

      public interface CellHoverHandler
      extends com.google.gwt.event.shared.EventHandler

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onCellHover(CellHoverEvent event)` Called when the mouse hovers over a cell if `this.canHover` is `true`.

- - ### Method Detail

    - #### onCellHover

          void onCellHover(CellHoverEvent event)

      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:
        `event` - the event