com.smartgwt.client.widgets.grid.events

## Interface HasRecordCollapseHandlers

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

      public interface HasRecordCollapseHandlers
      extends HasHandlers

- - ### Method Summary

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

          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