04-05-2013 03:27 AM
I want to implement a MultiSelectAction but after playing some time with it I can't figure how to detect the cancel button event to change the multiselect mode.
Is there any way to do it?
04-10-2013 06:06 AM
04-10-2013 10:24 AM
There currently is not "CANCEL" event, but you will get ContextMenuEvent.CLOSING and ContextMenuEvent.CLOSED events when this happens.
You will probably have to check to see if an action was selected before these events to determine if cancel was pressed.
I'll be the first to admitt that it's not ideal, and we should probably look at adding another event that specifically tells you that cancel was pressed to make things easier.
04-11-2013 03:11 AM
IT sounds good as a workarround
Luckily, action event is dispatched before closing ones
Hope you finally add that cancel evet!