com.smartgwt.client.widgets.grid.events

## Interface HasRecordCollapseHandlers

- 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 HasRecordCollapseHandlers
      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` | `addRecordCollapseHandler(RecordCollapseHandler handler)` Handler fired when a record is collapsed in a grid with `canExpandRecords` set to true.

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

      `fireEvent`

- - ### Method Detail

    - #### addRecordCollapseHandler

          com.google.gwt.event.shared.HandlerRegistration addRecordCollapseHandler(RecordCollapseHandler handler)

      Handler fired when a record is collapsed in a grid with `canExpandRecords` set to true. Allows the collapse to be cancelled.
      Parameters:
        `handler` - the recordCollapse handler
      Returns:
        `HandlerRegistration` used to remove this handler