com.smartgwt.client.widgets.grid.events

## Interface HasDrawAreaChangedHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    CubeGrid, DateGrid, ListGrid, Menu, TableView, TreeGrid

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.HandlerRegistration` | `addDrawAreaChangedHandler(DrawAreaChangedHandler handler)` Notification method that fires when the drawArea changes due to scrolling.

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

      `fireEvent`

- - ### Method Detail

    - #### addDrawAreaChangedHandler

          com.google.gwt.event.shared.HandlerRegistration addDrawAreaChangedHandler(DrawAreaChangedHandler handler)

      Notification method that fires when the drawArea changes due to scrolling. Receives the previous drawArea co-ordinates as parameters. Call `ListGrid.getDrawArea` to get the new drawArea co-ordinates.

      Note that if this grid is showing any `frozen fields`, they will not be included in the `oldStartCol`, `oldEndCol` range reported by this method. Frozen fields are assumed never to be scrolled out of view.

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