com.smartgwt.client.widgets.grid.events

## Interface HasViewStateChangedHandlers

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

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

- - ### Method Summary

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