com.smartgwt.client.widgets.grid.events

## Interface HasHeaderClickHandlers

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

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

- - ### Method Summary

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

    - #### addHeaderClickHandler

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