Interface EventRemoveClickHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled whenever the close icon of anevent canvasis clicked in theday,weekandtimelineviews, or when theremove buttonis pressed in theevent editor.
-
Method Details
-
onEventRemoveClick
Called whenever the close icon of anevent canvasis clicked in theday,weekandtimelineviews, or when theremove buttonis pressed in theevent editor.Implement this method to intercept the automatic removal of data. You can Call
CalendarEventRemoveClick.cancel()from withinonEventRemoveClick(com.smartgwt.client.widgets.calendar.events.CalendarEventRemoveClick)to prevent the default action (callingremoveEvent()) and instead take action of your own. For example, returning false from this method and then showing a custom confirmation dialog - if the user cancels, do nothing, otherwise make a call toremoveEvent(event), passing the event.- Parameters:
event- the event
-