1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    55
    Vote Rating
    0
    DarekKay is on a distinguished road

      0  

    Default Unanswered: RadioGroup replacement?

    Unanswered: RadioGroup replacement?


    Since RadioGroup was removed in GXT3, how can I group some Radio-Widgets?

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Answers
    109
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    From http://www.sencha.com/examples-dev/#...pleformexample

    Code:
    Radio radio = new Radio();    radio.setBoxLabel("Red");
     
        Radio radio2 = new Radio();
        radio2.setBoxLabel("Blue");
        radio2.setValue(true);
     
        hp = new HorizontalPanel();
        hp.add(radio);
        hp.add(radio2);
     
        p.add(new FieldLabel(hp, "Color"));
     
        // we can set name on radios or use toggle group
        ToggleGroup toggle = new ToggleGroup();
        toggle.add(radio);
        toggle.add(radio2);

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    55
    Vote Rating
    0
    DarekKay is on a distinguished road

      0  

    Default


    Big thanks, ToggleGroup was what I was searching for.

Thread Participants: 1

Tags for this Thread