Announcement

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

    Add Canvas Item in RadioButton Group

    Hi

    I have a radioButton group, in which one radiobutton has a selectItem where user has to select the values. Can someone please explain how to bind a selectItem in RadioButton. I am using hashmap to set the radiobuttons.

    #2
    Please see the attachment for my requirement. The TextBox in the Design should be SelectItem. Thanks
    Attached Files

    Comment


      #3
      This is very NON-trivial to implement. You could of course embed straight HTML in the valuemap for the RadioGroupItem as the easiest method, otherwise to use SmartGWT components it would take some real work.

      Comment


        #4
        +1 vote to add this feature.

        This is very needed.
        The vast majority of cases in which I need radio items are exactly in situations like this.

        Comment


          #5
          No feature needed, you can just place the related controls in adjacent columns and show/hide them when radio buttons are selected.

          Comment


            #6
            That's what I do, but the whole thing turns out to be extremely complex in form layouts that use several columns for their items.

            And for the given example (http://forums.smartclient.com/attachment.php?attachmentid=1552&d=1280153108) I don't think there's any way to manipulate the col span of the second radio (so that it would overlap the 3 columns used in the first radio), right? Because in smartclient/smartgwt each radio fits into one column.

            Maybe one can do this using absolute layouts instead of table layouts, but absolute layouts can also be tricky. Anyway, I haven't tried it, maybe it works...

            The ideal solution would be to support this in regular table layouts, but hey, we don't live in an ideal world. If you can do do it, great. If you can't, we live ;-)

            Comment

            Working...
            X