Announcement

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

    "Selected State Event" for Button or StatefulCanvas

    Using SmartGWT 5.0p and Firefox 24.0ESR.

    Is there an event that a class can listen on that gets triggered when buttons in a RadioGroup change state to "Selected"? Ideally, the event should contain information on which Button went into the selected state and which one lost that state. I looked at all the HasHandlers interfaces in Javadoc and couldn't seem to find one.

    #2
    For Buttons that are combined into a radioGroup via addToRadioGroup(), there's currently no single handler that you can register to listen across the entire radio group. You need to add a click handler to each Button.

    For the similar RadioGroupItem (a FormItem), you can just register a ChangeHandler (as for any FormItem).

    Comment

    Working...
    X