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

# Interface HasSorterContextClickHandlers

All Superinterfaces:
  `HasHandlers`

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

public interface HasSorterContextClickHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addSorterContextClickHandler(SorterContextClickHandler handler)`
  Notification method fired when the user right-clicks on the corner `sort button`.

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

  `fireEvent`

- ## Method Details

  - ### addSorterContextClickHandler

    HandlerRegistration addSorterContextClickHandler(SorterContextClickHandler handler)
    Notification method fired when the user right-clicks on the corner `sort button`. Call `SorterContextClickEvent.cancel()` from within `SorterContextClickHandler.onSorterContextClick(com.smartgwt.client.widgets.grid.events.SorterContextClickEvent)` to suppress the default behavior of showing the sorter's context menu.
    Parameters:
      `handler` - the sorterContextClick handler
    Returns:
      `HandlerRegistration` used to remove this handler