Package com.smartgwt.client.widgets.grid.events

# Interface HasDrawAreaChangedHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `CalendarView`, `CubeGrid`, `DateGrid`, `EditTree`, `ListGrid`, `ListPalette`, `Menu`, `MenuPalette`, `PickListMenu`, `RecordEditor`, `SelectionTreeMenu`, `TableView`, `TreeGrid`, `TreePalette`

public interface HasDrawAreaChangedHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  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 Details

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