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

# Interface HasChangeHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `ListGridField`, `ListGridRemoveField`, `ListGridSummaryField`, `TreeGridField`

public interface HasChangeHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addChangeHandler(ChangeHandler handler)`
  If this field is editable, any `change` handler specified on the ListGridField will be passed onto the editors for this field.

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

  `fireEvent`

- ## Method Details

  - ### addChangeHandler

    HandlerRegistration addChangeHandler(ChangeHandler handler)
    If this field is editable, any `change` handler specified on the ListGridField will be passed onto the editors for this field.

    Note that if `canToggle` is true, the user may change the value of a boolean field without going into edit mode by single clicking on the field. In this case the `ListGridField.change` and `ListGridField.changed` handlers will fire but the `form` and `item` parameters will be null.

    Parameters:
      `handler` - the change handler
    Returns:
      `HandlerRegistration` used to remove this handler