com.smartgwt.client.widgets.grid.events

## Interface HasSorterContextClickHandlers

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

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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.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 Detail

    - #### addSorterContextClickHandler

          com.google.gwt.event.shared.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