Announcement

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

    RadioGroupItem, Prompt and Hover

    Use Firefox and other
    SmartGWt2.4

    I have a DynamicForm with a RadioGroupItem, I set the Prompt and it display correctly when the mouse enter the RadioGroupItem Area.
    With other components like for example TreeGrid I did the same thing and was able to add
    Code:
    catalogueTreeGrid.setHoverMoveWithMouse(true);
    catalogueTreeGrid.setHoverOpacity(50);
    catalogueTreeGrid.setPrompt("Choisissez le niveau ou vous désirez créer votre rubrique ");
    BUT... this type of code doesn't work with RadioGroupItem!
    Is ther a logical explaination or is it a bug?

    Regards
    Alain

    #2
    FormItems don't extend Canvas, where those attributes exist. Set them on the containing form instead, with just the prompt itself set on the formItem.

    Comment


      #3
      Ok for the fact they are not Canvas.

      By the way when I disable a dateItem I still have the prompt(or tooltip) is this normal too? I tried with setTooltip("")but it didn't change.

      Comment

      Working...
      X