com.smartgwt.client.widgets.grid.events

## Interface HasViewStateChangedHandlers

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

      public interface HasViewStateChangedHandlers
      extends HasHandlers

- - ### Method Summary

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

          HandlerRegistration addViewStateChangedHandler(ViewStateChangedHandler handler)

      Notification method executed whenever the viewState of this grid changes. View state is accessible via `ListGrid.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