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

# Interface BeforeCommitHandler

All Superinterfaces:
  `EventHandler`

public interface BeforeCommitHandler extends EventHandler

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onBeforeCommit(BeforeCommitEvent event)`
  Notification method fired when the `commitButton` is clicked.

- ## Method Details

  - ### onBeforeCommit

    void onBeforeCommit(BeforeCommitEvent event)
    Notification method fired when the `commitButton` is clicked.

    This notification occurs before actually committing data to the server. It allows to make changes to the data after user edits, but before it will be sent to server.

    Read also `BatchUploader.previewShown()` docs for details how to change data in grid and for possibility to interrupt upload process on the server as well.

    Parameters:
      `event` - the event