Interface HasRecordDoubleClickHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
TileGrid, TilePalette

public interface HasRecordDoubleClickHandlers extends HasHandlers
  • Method Details

    • addRecordDoubleClickHandler

      HandlerRegistration addRecordDoubleClickHandler(RecordDoubleClickHandler handler)
      Executed when the tileGrid receives a 'doubleclick' event on a tile. The default implementation does nothing -- override to perform some action when any record is doubleclicked.
      A record event handler can be specified either as a function to execute, or as a string of script to evaluate. If the handler is defined as a string of script, all the parameters below will be available as variables for use in the script.
      If you want to cancel the doubleclick based on the parameters, Call com.smartgwt.client.widgets.tile.events.RecordDoubleClickEvent#cancel() from within RecordDoubleClickHandler.onRecordDoubleClick(com.smartgwt.client.widgets.tile.events.RecordDoubleClickEvent). Otherwise, return true so that the doubleclick event be registered with the tile.
      Parameters:
      handler - the recordDoubleClick handler
      Returns:
      HandlerRegistration used to remove this handler