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

# Interface HasHeaderClickHandlers

All Superinterfaces:
  `HasHandlers`

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

public interface HasHeaderClickHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addHeaderClickHandler(HeaderClickHandler handler)`
  Handler fired when the user clicks a header in this listGrid before any other processing occurs.

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

  `fireEvent`

- ## Method Details

  - ### addHeaderClickHandler

    HandlerRegistration addHeaderClickHandler(HeaderClickHandler handler)
    Handler fired when the user clicks a header in this listGrid before any other processing occurs. Call `HeaderClickEvent.cancel()` from within `HeaderClickHandler.onHeaderClick(com.smartgwt.client.widgets.grid.events.HeaderClickEvent)` to suppress the default header click handling
    Parameters:
      `handler` - the headerClick handler
    Returns:
      `HandlerRegistration` used to remove this handler