Announcement

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

    Different values for Radio button & Combobox

    Hi all,

    I'm looking for how to create a RadioGroupItem with different values/labels (for example, a <input type="radio" value="1" id="blabla" /><label for="blabla" value="Yes"/>

    I'm looking for the same thing in a ComboBoxItem ( eg. display "Cat" and have "1" as value )

    Thanks.

    #2
    valueMap: http://www.smartclient.com/smartgwt/showcase/#form_controls_various

    Comment


      #3
      Ok, it seems that there are two setValueMap methods, one withe a list of string (this one is displayed in the showcase) and another with a real map. I will try that...
      Last edited by romain.vdk; 19 Aug 2010, 05:43.

      Comment


        #4
        as in the "combobox with icons" sample?

        Comment


          #5
          Exactly ... :)
          I didn't even saw it .......

          Comment

          Working...
          X