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

# Interface HasRecordCollapseHandlers

All Superinterfaces:
  `HasHandlers`

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

public interface HasRecordCollapseHandlers extends HasHandlers

- ## Method Summary

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

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