com.smartgwt.client.widgets.grid.events

## Interface HasViewStateChangedHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    CalendarView, CubeGrid, DateGrid, EditTree, ListGrid, ListPalette, Menu, MenuPalette, PickListMenu, RecordEditor, SelectionTreeMenu, TableView, TreeGrid, TreePalette

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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.HandlerRegistration` | `addViewStateChangedHandler(ViewStateChangedHandler handler)` Notification method executed whenever the viewState of this grid changes.

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

      `fireEvent`

- - ### Method Detail

    - #### addViewStateChangedHandler

          com.google.gwt.event.shared.HandlerRegistration addViewStateChangedHandler(ViewStateChangedHandler handler)

      Notification method executed whenever the viewState of this grid changes. View state is accessible via `getViewState()`, and contains field state information, sort information, selection information, hiliting information and grouping information.
      Parameters:
        `handler` - the viewStateChanged handler
      Returns:
        `HandlerRegistration` used to remove this handler