PDA

View Full Version : [GXT3.0][Test in IE8] Radio disappear.



gxtforumloginac
3 Jun 2011, 12:27 AM
A simple esxample is showing in the attached picture, the problem is once i click on Radio4, Radio4, Radio6 and Radio7 are disappear.

Anyone can tell me whether is it a bug or what is the problem of the code?
Can i use RowLayout Container in TableLayout Container??
26419


LayoutContainer c1 = new LayoutContainer(new TableLayout(2));

c1.add(new Text("some text here"),new TableData("20%"));
LayoutContainer c2 = new LayoutContainer();
c2.setLayout(new RowLayout());

Text text1 = new Text("some text here");
c2.add(text1);

RadioGroup group1 = new RadioGroup();
RadioGroup group2 = new RadioGroup();
RadioGroup group3 = new RadioGroup();

group1.setOrientation(Orientation.VERTICAL);
group2.setOrientation(Orientation.VERTICAL);
group3.setOrientation(Orientation.VERTICAL);

ExRadio radio1= new ExRadio("Radio1");
ExRadio radio2 = new ExRadio("Radio2");
ExRadio radio3 = new ExRadio("Radio3");
ExRadio radio4 = new ExRadio("Radio4");
ExRadio radio5 = new ExRadio("Radio5");
ExRadio radio6 = new ExRadio("Radio6");
ExRadio radio7 = new ExRadio("Radio7");

group1.add(radio1);
group1.add(radio2);
group1.add(radio5);
group2.add(radio3);
group2.add(radio4);
group3.add(radio6);
group3.add(radio7);

c2.add(radio1,new RowData());
c2.add(radio2,new RowData());
c2.add(new Text("some text here"));
c2.add(group2,new RowData());
c2.add(radio5,new RowData());
c2.add(new Text("some text here"));
c2.add(group3,new RowData());

c1.add(c2,new TableData("80%"));

gxtforumloginac
4 Jun 2011, 1:07 AM
Why there is not reply, dev team seem not to reply any question from sencha user..........:((

sven
6 Jun 2011, 12:16 AM
GXT 3 is completly unsupported right now. Also you posted just before a weekend. This bug report was noted and will be looked at.

gxtforumloginac
6 Jun 2011, 5:33 AM
Ok. Thank you very much.
The problem seems also happen in 2.X
please kinly have a look.

sven
6 Jun 2011, 5:50 AM
Yes this is a known problem for GXT2 and RadioGroup being used inside a table.

http://www.sencha.com/forum/showthread.php?111580-Rendering-problem-of-Radio-buttons-in-IE8&highlight=radiogroup

I found this thread using the forum search with the keywork "radiogroup".