com.smartgwt.client.widgets.grid.events
Interface HasDrawAreaChangedHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
CubeGrid, ListGrid, Menu, TableView, TreeGrid

public interface HasDrawAreaChangedHandlers
extends HasHandlers


Method Summary
 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