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

# Interface HasSorterClickHandlers

All Superinterfaces:
  `HasHandlers`

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

public interface HasSorterClickHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addSorterClickHandler(SorterClickHandler handler)`
  Notification method fired when the user clicks on the corner `sort button`.

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

  `fireEvent`

- ## Method Details

  - ### addSorterClickHandler

    HandlerRegistration addSorterClickHandler(SorterClickHandler handler)
    Notification method fired when the user clicks on the corner `sort button`. Call `SorterClickEvent.cancel()` from within `SorterClickHandler.onSorterClick(com.smartgwt.client.widgets.grid.events.SorterClickEvent)` to suppress the sort.
    Parameters:
      `handler` - the sorterClick handler
    Returns:
      `HandlerRegistration` used to remove this handler