com.smartgwt.client.widgets.grid.events

## Interface HasDrawAreaChangedHandlers

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

      public interface HasDrawAreaChangedHandlers
      extends HasHandlers

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

          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