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

# Interface HasViewStateChangedHandlers

All Superinterfaces:
  `HasHandlers`

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

public interface HasViewStateChangedHandlers extends HasHandlers

- ## Method Summary

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

  - ### addViewStateChangedHandler

    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