com.smartgwt.client.widgets.grid.events

## Interface HasHeaderClickHandlers

- All Superinterfaces:
    HasHandlers
  All Known Implementing Classes:
    CalendarView, CubeGrid, DateGrid, EditTree, ListGrid, ListPalette, Menu, MenuPalette, RecordEditor, SelectionTreeMenu, TableView, TreeGrid, TreePalette

      public interface HasHeaderClickHandlers
      extends HasHandlers

- - ### Method Summary

    Methods
    Modifier and Type | Method and 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 Detail

    - #### 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