Interface HasBeforeCommitHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
BatchUploader, BatchUploader, BatchUploader

public interface HasBeforeCommitHandlers extends HasHandlers
  • Method Details

    • addBeforeCommitHandler

      HandlerRegistration addBeforeCommitHandler(BeforeCommitHandler handler)
      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:
      handler - the beforeCommit handler
      Returns:
      HandlerRegistration used to remove this handler