Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    com.smartgwt.client.widgets.menu.events.MenuIconCl ickHandler

    Hello,

    I am trying to implement a scenario which uses this click handler, I would want to suppress the standard click behavior (as hinted by the javadoc) by returning false in the 'onMenuIconClick' method - but the return type is indicated as void.
    I try to add the handler on a com.smartgwt.client.widgets.IconButton.addMenuIconClickHandler(MenuIconClickHandler) instance.

    Please advise how this should work.


    This is on v9.0p_2013-07-17/Pro Deployment 2013-07-17.

    thanks

    #2
    Calling "cancel()" on the event should give you the behavior you're expecting

    Thanks
    Isomorphic Software

    Comment


      #3
      Thanks, works like a charm.

      Comment

      Working...
      X