Hi
I am trying to obtain a prompt when I hover over the values of a RadioGroupItem. I expect the promt to change based on which RadioGroupItem Value I hover over. This is something similar to the example in the SmartGWTShowcase under Forms>Hovers, only difference being i am tryin to achieve this for a RadioGroupItem rather than a ComboBoxItem.
Hovever the addItemHoverHandler doesnt seem to be responding. Even something simple like the code below doesnt work
I have tried this on Firefox 6.01 as well as chrome and it doesnt seem to work.
Is there a different way to achieve the same feature?
I am trying to obtain a prompt when I hover over the values of a RadioGroupItem. I expect the promt to change based on which RadioGroupItem Value I hover over. This is something similar to the example in the SmartGWTShowcase under Forms>Hovers, only difference being i am tryin to achieve this for a RadioGroupItem rather than a ComboBoxItem.
Hovever the addItemHoverHandler doesnt seem to be responding. Even something simple like the code below doesnt work
Code:
final RadioGroupItem radioGroupItem = new RadioGroupItem(); radioGroupItem.setName("radioItem"); radioGroupItem.setTitle("Radio Type"); radioGroupItem.setValueMap("option1", "option2"); radioGroupItem.addItemHoverHandler(new ItemHoverHandler() { public void onItemHover(ItemHoverEvent itemHoverEvent) { SC.say("hello"); } });
Is there a different way to achieve the same feature?
Comment